Fit_dist_parameter: Returns adjusted distribution parameters

Description Usage Arguments Value Author(s) See Also Examples

Description

Returns the distribution parameters adjusted for by maximum likelihood (mle) for the following distributions: "normal","log-normal","geometric","exponential","Poisson", "cauchy" , "logistic" and "weibull"

Usage

1

Arguments

x

A numeric vector of length at least one containing only finite values (non-censored data)

Value

normal

Fitted Mean and sd for a normal distribution

'log-normal'

Fitted Meanlog and sdlog for a log-normal distribution

geometric

Fitted prob for a geometric distribution

exponential

Fitted rate for a exponential distribution

Poisson

Fitted lambda for a exponential distribution

cauchy

Fitted location and scale for a Cauchy distribution

logistic

Fitted location and scale for a Logistic distribution

weibull

Fitted shape and scale for a weibull distribution

Author(s)

F. Barrio-Parra

See Also

Function fitdistr in Library (MASS)

Examples

1
2
3
4
5
6
7
8
9
a <- rnorm(n=100, mean =10, sd = 1) 

b <- Fit_dist_parameter(a)

# Examples of result extraction

b$normal

b$weibull

EnviroPRA documentation built on May 1, 2019, 8:21 p.m.