Learn R Programming

mixdist (version 0.5-5)

weibullpar: Compute Shape and Scale Parameters for Weibull Distribution

Description

Compute the parameters shape and scale for Weibull distribution given the mean, standard deviation and location.

Usage

weibullpar(mu, sigma, loc = 0)

Arguments

mu

the mean of weibull distribution.

sigma

the standard deviation of weibull distribution.

loc

the location parameter of weibull distribution defaulting to 0.

Value

A data frame containing three parameters, which are, in order, shape, scale, and location.

See Also

weibullparinv for computing mean and standard deviation from the parameters shape, scale and location.

Examples

Run this code
# NOT RUN {
weibullpar(2, 1.2)
weibullpar(2, 1.2, 1)
# }

Run the code above in your browser using DataLab