triangle_mle | R Documentation |
Maximum likelihood estimate of the triangle distribution parameters
triangle_mle(x, debug = FALSE, maxiter = 100, boot_var = FALSE, boot_rep = 500)
x |
sample from a triangle distribution |
debug |
if |
maxiter |
the maximum number of cycles of optimization between maximizing |
boot_var |
should the variance be computed with a boostrap sample? |
boot_rep |
The number of boostrap replications |
an object of S3 class triangle_mle
containing a list with the call, coefficients,
variance co-variance matrix, minimum negative log likelihood, details of the optimization
number of observations, and the sample
Samuel Kotz and Johan Rene van Dorp. Beyond Beta \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1142/5720")}
xtest <- c(0.1, 0.25, 0.3, 0.4, 0.45, 0.6, 0.75, 0.8)
triangle_mle(xtest)
xtest <- rtriangle(20, 1, 5, 3.5)
triangle_mle(xtest)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.