Description Usage Arguments Value Examples
Computing the MLE for logistic distribution using R, location parameter is theta, scale parameter is 1.
1 | mlelogistic(x, theta0 = mean(x), numstep = 100, eps = 1e-04)
|
x |
vector, the sample |
theta0 |
the mean of x |
numstep |
maximum repeat times |
eps |
The iteration error |
theta1 is the MLE
check is the iteration error
realnumsteps is the actual number of iterations
1 2 | x=rlogis(100,2,1)
mlelogistic(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.