
Last chance! 50% off unlimited learning
Sale ends in
prob.norm(lo=NULL, hi=NULL, mu=0, sigma=1, col.nrm="black",
col.fill.nrm="grey91", col.fill.int="slategray3",
ylab="", y.axis=FALSE, z=TRUE, mag=.9, ...)
TRUE
, then a vertical axis is included.TRUE
, then include z-values on the horizontal-axis. Set to FALSE
if mu=0
and sigma=1
.cex.axis
.hi
, then the upper tail probability is provided, that is, from the specified value until positive infinity. If there is no lower value, lo
, then the lower tail probability is provided. The probability is calculated with pnorm
.pnorm
, plot
.# Mu=0, Sigma=1: Standard normal prob, values between 0 and 2
prob.norm(0,2)
# Mu=0, Sigma=1: Standard normal prob, values lower than 2
prob.norm(hi=2)
# Mu=0, Sigma=1: Standard normal prob, values larger than 2
prob.norm(lo=2)
# Mu=100, Sigma=15: Change default fill color of plotted interval
prob.norm(lo=115, hi=125, mu=100, sigma=15, col.fill.int="plum")
Run the code above in your browser using DataLab