censored Equation Methods
Estimation of censored and truncated models.
Estimates models where the dependent variable is either censored or truncated. The allowable specifications include the standard Tobit model.
Syntax
eq_name.censored(options) y x1 [x2 x3]
eq_name.censored(options) specification
Options

 l=number (default=0) Set value for the left censoring limit. r=number (default=none) Set value for the right censoring limit. l=series_name, i Set series name of the indicator variable for the left censoring limit. r=series_name, i Set series name of the indicator variable for the right censoring limit. t Estimate truncated model. d=arg (default=“n”) Specify error distribution: normal (“n”), logistic (“l”), Type I extreme value (“x”). optmethod = arg Optimization method: “bfgs” (BFGS); “newton” (Newton-Raphson), “opg” or “bhhh” (OPG or BHHH), “legacy” (EViews legacy).Newton-Raphson is the default method. optstep = arg Step method: “marquardt” (Marquardt); “dogleg” (Dogleg); “linesearch” (Line search).Marquardt is the default method. cov=arg Covariance method: “ordinary” (default method based on inverse of the estimated information matrix), “huber” or “white” (Huber-White sandwich method). covinfo = arg Information matrix method: “opg” (OPG); “hessian” (observed Hessian - default).(Applicable when non-legacy “optmethod=”). h Huber-White quasi-maximum likelihood (QML) standard errors and covariances.(Legacy option Applicable when “optmethod=legacy”). m=integer Set maximum number of iterations. c=scalar Set convergence criterion. The criterion is based upon the maximum of the percentage changes in the scaled coefficients. The criterion will be set to the nearest value between 1e-24 and 0.2. s Use the current coefficient values in “C” as starting values (see also param ). s=number Specify a number between zero and one to determine starting values as a fraction of EViews default values (out of range values are set to “s=1”). showopts / ‑showopts [Do / do not] display the starting coefficient values and estimation options in the estimation output. coef=arg Specify the name of the coefficient vector (if specified by list); the default behavior is to use the “C” coefficient vector. prompt Force the dialog to appear from within a program. p Print results.
Examples
The command:
eq1.censored(cov=huber) hours c wage edu kids
estimates a censored regression model of HOURS on a constant, WAGE, EDU, and KIDS with QML standard errors. This command uses the default normal likelihood, with left-censoring at HOURS=0, no right censoring, and the quadratic hill climbing algorithm.
Cross-references