Usage
tobit2fit(YS, XS, YO, XO, start, print.level = 0,
maxMethod="Newton-Raphson", ...)
tobit5fit(YS, XS, YO1, XO1, YO2, XO2, start, print.level=0, maxMethod="Newton-Raphson", ...)
Arguments
YS
numeric 0/1 vector, where 0 denotes unobserved outcome
(tobit 2) or outcome 1 observed (tobit 5).
XS, XO, XO1, XO2
numeric matrix, model matrix for selection and
outcome equations.
YO
numeric vector, observed outcomes. Values for unobserved
outcomes are ignored (they may or may not be NA).
start
numeric vector of initial values. The order is: betaS,
betaO(1), sigma(1), rho(1), betaO2, sigma2, rho2.
print.level
numeric, values greater than 0 will produce
increasingly more debugging information.
maxMethod
character, a maximisation method supported by maxLik
...
Additional parameters to maxLik
.