truncnorm {truncnorm} | R Documentation |
Density, distribution function, quantile function, random generation and expected value function for the truncated normal distribution with mean equal to 'mean' and standard deviation equal to 'sd'.
dtruncnorm(x, a, b, mean = 0, sd = 1) ptruncnorm(q, a, b, mean = 0, sd = 1) qtruncnorm(p, a, b, mean = 0, sd = 1) rtruncnorm(n, a, b, mean = 0, sd = 1) etruncnorm(a, b, mean, sd) vtruncnorm(a, b, mean, sd)
x,q |
vector of quantiles. |
p |
vector of probabilites. |
n |
number of observations. |
a |
vector of lower bounds. |
b |
vector of upper bounds. |
mean |
vector of means. |
sd |
vector of standard deviations. |
If 'mean' or 'sd' are not specified they assume the default values of '0' and '1', respectively.
'dtruncnorm' gives the density, 'ptruncnorm' gives the distribution function, 'qtruncnorm' gives the quantile function, 'rtruncnorm' generates random deviates, 'etruncnorm' gives the expected value and 'vtruncnorm' the variance of the distirbution.
Heike Trautmann trautmann@statistik.uni-dortmund.de, Detlef Steuer steuer@hsu-hamburg.de and Olaf Mersmann olafm@statistik.uni-dortmund.de. 'qtruncnorm' was originally published in package 'msm' written by C. H. Jackson chris.jackson@mrc-bsu.cam.ac.uk
FIXME: Erstes auftauchen?