Fixed and random effects estimators for truncated or censored limited dependent variable
a symbolic description for the model to be estimated,
a data.frame,
see lm,
see lm,
see lm,
one of "fd", "random", or "pooling",
the indexes, see pdata.frame(),
the number of points for the gaussian quadrature,
a vector of starting values,
the lower bound for the censored/truncated dependent variable,
the upper bound for the censored/truncated dependent variable,
the objective function for the fixed effect model (model = "fd",
irrelevant for other values of the model argument ):
one of "lsq" for least squares (minimise sum of squares of the residuals)
and "lad" for least absolute deviations (minimise sum of absolute values
of the residuals),
"cens" for a censored (tobit-like) sample,
"trunc" for a truncated sample,
further arguments.
For model = "fd", an object of class c("plm", "panelmodel"), for
model = "random" and model = "pooling" an object of class c("maxLik", "maxim").
pldv computes two kinds of models: a LSQ/LAD estimator for the
first-difference model (model = "fd") and a maximum likelihood estimator
with an assumed normal distribution for the individual effects
(model = "random" or "pooling").
For maximum-likelihood estimations, pldv uses internally function
maxLik::maxLik() (from package maxLik).
Honoré BE (1992). “Trimmed LAD and least squares estimation of truncated and censored regression models with fixed effects.” Econometrica, 60(3).
## as these examples take a bit of time, do not run them automatically
if (FALSE) { # \dontrun{
data("Donors", package = "pder")
library("plm")
pDonors <- pdata.frame(Donors, index = "id")
# replicate Landry/Lange/List/Price/Rupp (2010), online appendix, table 5a, models A and B
modA <- pldv(donation ~ treatment + prcontr, data = pDonors,
model = "random", method = "bfgs")
summary(modA)
modB <- pldv(donation ~ treatment * prcontr - prcontr, data = pDonors,
model = "random", method = "bfgs")
summary(modB)
} # }