Description Usage Arguments Value Author(s) See Also Examples
Loglikelihood function (changed in sign) for the type 1 discrete Weibull distribution
1 |
par |
the vector of parameters, q and β |
x |
the vector of sample values |
zero |
|
the value of the loglikelihood function (changed in sign) for the observed sample x
under the parameters par
Alessandro Barbiero
1 2 3 4 5 6 | x <- c(1,1,1,2,2,2,2,2,2,3,4,4,5,6,8)
-loglikedw(c(0.8, 1), x) # loglikelihood function for q=0.8 and beta=1
-loglikedw(c(0.4, 2), x) # loglikelihood function for q=0.4 and beta=2
par <- estdweibull(x, "ML")# parameter estimates derived by the ML method
par
-loglikedw(par, x) # the maximum value of the loglikelihood function
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.