hazrate.start.limits {Rdistance} | R Documentation |
hazrate.start.limits - Start and limit values for hazrate distance function
Description
Compute starting values and limits for the hazard rate distance function.
Usage
hazrate.start.limits(ml)
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 |
Value
A list containing the following components
start |
Vector of starting values for parameters of the likelihood and expansion terms. |
lowlimit |
Vector of lower limits for the likelihood parameters and expansion terms. |
uplimit |
Vector of upper limits for the likelihood parameters and expansion terms. |
names |
Vector of names for the likelihood parameters and expansion terms. |
The length of each vector in the return is:
(Num expansions) + 1 + 1*(like %in% c("hazrate")) + (Num Covars)
.