tobit1 | R Documentation |
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
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,
...
)
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 |
An object of class c("tobit1", "micsr")
, see
micsr::micsr
for further details.
Yves Croissant
POWE:86micsr
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.