mlelogistic: Computing the MLE for logistic distribution

Description Usage Arguments Value Examples

Description

Computing the MLE for logistic distribution using R, location parameter is theta, scale parameter is 1.

Usage

1
mlelogistic(x, theta0 = mean(x), numstep = 100, eps = 1e-04)

Arguments

x

vector, the sample

theta0

the mean of x

numstep

maximum repeat times

eps

The iteration error

Value

theta1 is the MLE

check is the iteration error

realnumsteps is the actual number of iterations

Examples

1
2
x=rlogis(100,2,1)
mlelogistic(x)

StatComp18063/StatComp documentation built on May 13, 2019, 10:04 a.m.