<!doctype s-function-doc system "s-function-doc.dtd" [
<!entity % S-OLD "INCLUDE">
]
>
<s-function-doc>

<s-topics>
<s-topic>gammaMLE</s-topic>
<s-topic>lognormMLE</s-topic>
<s-topic>weibullMLE</s-topic>
</s-topics>

<s-title>
Maximum Likelihood Parameter Estimates for Asymmetric Distributions
</s-title>

<s-description>
Maximum likelihood parameter estimation for gamma, lognormal, and Weibull
distributions.
</s-description>

<s-usage>
<s-old-style-usage>
gammaMLE(data, save.data=T, control=weibullMLE.control(...), ...)
lognormMLE(data, save.data=T)
weibullMLE(data, save.data=T, control=weibullMLE.control(...), ...)
</s-old-style-usage>
</s-usage>

<s-args-required>
<s-arg name="data">
a vector of positive real numbers.
</s-arg>
</s-args-required>

<s-args-optional>
<s-arg name="control">
a list of control parameters.
Use the functions gammaMLE.control and weibullRob.control (respectively)
to create the control list.
</s-arg>

<s-arg name="save.data">
if <s-expression>TRUE</s-expression> the vector of data is
included in the returned object.
</s-arg>

<s-arg name="...">
control arguments may be passed directly.
</s-arg>
</s-args-optional>

<s-value>
an asymmetric.dstn object with class "gammaMLE", "lognormMLE", or
"weibullMLE" (respectively) containing the following components.

<s-return-component name="call">
an image of the call that produced the object, but with the arguments all
named.
</s-return-component>

<s-return-component name="mu">
maximum likelihood estimate of the mean.
</s-return-component>

<s-return-component name="alpha">
maximum likelihood estimate of the shape parameter.
</s-return-component>

<s-return-component name="sigma">
maximum likelihood estimate of the scale parameter.
</s-return-component>

<s-return-component name="V.mu">
maximum likelihood estimate of the variance of mu.
</s-return-component>

<s-return-component name="data">
the data if <s-expression>data=T</s-expression>.
</s-return-component>

<s-return-component name="cov">
an estimate of the covariance of alpha and sigma (gamma and Weibull only).
</s-return-component>

<s-return-component name="nit">
number of iterations (gamma and Weibull only).
</s-return-component>
</s-value>

<s-see>
<s-function name="gammaMLE.control.sgm">gammaMLE.control</s-function>,
<s-function name="weibullMLE.control.sgm">weibullMLE.control</s-function>,
<s-function name="summary.asymmetric.dstn.sgm">summary.asymmetric.dstn</s-function>,
<s-function name="plot.asymmetric.dstn.sgm">plot.asymmetric.dstn</s-function>.
</s-see>

<s-examples>
<s-example type=text>
gammaMLE(los)
gammaMLE(los, tol=1e-5)
gammaMLE(los, control = gammaMLE.control(tol=1e-5))
</s-example>
</s-examples>

<s-keywords>
<s-keyword>librobust</s-keyword>
</s-keywords>

<s-docclass>
function
</s-docclass>

</s-function-doc>
