lossdw3 {DiscreteWeibull} | R Documentation |
Loss function
Description
Loss function for the method of moments (type 3 discrete Weibull)
Usage
lossdw3(par, x, eps = 1e-04)
Arguments
par |
vector of parameters |
x |
the vector of sample values |
eps |
error threshold for the numerical computation of the expected value |
Details
The loss function is given by , where
denotes the expected value,
and
are the first and second order sample moments respectively.
Value
the value of the quadratic loss function
Author(s)
Alessandro Barbiero
See Also
Examples
n <- 25
c <- 1/3
beta <- 2/3
x <- rdweibull3(n, c, beta)
par <- estdweibull3(x, "M")
par
lossdw3(par, x)
[Package DiscreteWeibull version 1.1 Index]