tobit1 {micsr} | R Documentation |
Truncated response model
Description
Estimation of models for which the response is truncated, either on censored or truncated samples using OLS, NLS, maximum likelihood, two-steps estimators or trimmed estimators
Usage
tobit1(
formula,
data,
subset = NULL,
weights = NULL,
start = NULL,
left = 0,
right = Inf,
scedas = NULL,
sample = c("censored", "truncated"),
method = c("ml", "lm", "twosteps", "trimmed", "nls", "minchisq", "test"),
trace = FALSE,
...
)
Arguments
formula |
a symbolic description of the model; if two right
hand sides are provided, the second one described the set of
instruments if |
data , subset , weights |
see |
start |
an optional vector of starting values |
left , right |
left and right truncation points for the response The default is respectively 0 and +Inf which corresponds to the most classic (left-zero truncated) tobit model |
scedas |
the functional form used to specify the conditional
variance, either |
sample |
either |
method |
one of |
trace |
a boolean (the default if |
... |
further arguments |
Value
An object of class c("tobit1", "micsr")
, see
micsr::micsr
for further details.
Author(s)
Yves Croissant
References
Powell J (1986). “Symmetrically trimed least squares estimators for tobit models.” Econometrica, 54, 1435–1460.
Examples
charitable$logdon <- with(charitable, log(donation) - log(25))
ml <- tobit1(logdon ~ log(donparents) + log(income) + education +
religion + married + south, data = charitable)
scls <- update(ml, method = "trimmed")
tr <- update(ml, sample = "truncated")
nls <- update(tr, method = "nls")