mlEstimates: mlEstimates - Distance function maximum likelihood estimates

View source: R/mlEstimates.R

mlEstimatesR Documentation

mlEstimates - Distance function maximum likelihood estimates

Description

Estimate parameters of a distance function using maximum likelihood.

Usage

mlEstimates(ml, strt.lims)

Arguments

ml

Either a Rdistance 'model frame' or an Rdistance 'fitted object'. Both are of class "dfunc". Rdistance 'model frames' are lists containing components necessary to estimate a distance function, but no estimates. Rdistance 'model frames' are typically produced by calls to parseModel. Rdistance 'fitted objects' are typically produced by calls to dfuncEstim. 'Fitted objects' are 'model frames' with additional components such as the parameters estimates, log likelihood value, convergence information, and the variance- covariance matrix of the parameters.

strt.lims

A list containing start, low, and high limits for parameters of the requested likelihood. This list is typically produced by a call to startLimits.

Value

An Rdistance fitted model object. This object contains the raw object returned by the optimization routine (e.g., nlming), and additional components specific to Rdistance.


tmcd82070/Rdistance documentation built on April 13, 2025, 1:38 p.m.