Weibull Distribution

DESCRIPTION:

Functions for the density, cumulative distribution, quantiles and random generation of the Weibull distribution.

USAGE:

dweibull(x, shape, scale=1, log=F) 
pweibull(q, shape, scale=1) 
qweibull(p, shape, scale=1) 
rweibull(n, shape, scale=1, bigdata=F) 

REQUIRED ARGUMENTS:

x
vector or bdVector of (positive) quantiles. Missing values ( NAs) are allowed.
q
vector or bdVector of (positive) quantiles. Missing values ( NAs) are allowed.
p
vector or bdVector of probabilities. Missing values ( NAs) are allowed.
n
sample size. If length(n) is larger than 1, then length(n) random values are returned.
shape
vector or bdVector of (positive-valued) shape parameters.

OPTIONAL ARGUMENTS:

scale
vector or bdVector of (positive-valued) scale parameters.
bigdata
a logical value; if TRUE, an object of type bdVector is returned. Otherwise, a vector object is returned. This argument can be used only if the bigdata library section has been loaded.
log
a logical scalar; if TRUE, dweibull will return the log of the density, not the density itself.

VALUE:

density ( dweibull), probability ( pweibull), quantile ( qweibull), or random sample ( rweibull) for the Weibull distribution with shape parameter.

SIDE EFFECTS:

The function rweibull causes creation of the dataset .Random.seed if it does not already exist, otherwise its value is updated.

DETAILS:

Elements of q or p that are missing will cause the corresponding elements of the result to be missing.

For details on the uniform random number generator implemented in S-PLUS, see the set.seed help file.

SEE ALSO:

, .

EXAMPLES:

dweibull(1:8, .2)