Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Eviews5 / EViews5 / Docs / EViews 5 Users Guide.pdf
Скачиваний:
152
Добавлен:
23.03.2015
Размер:
11.51 Mб
Скачать

654—Chapter 21. Discrete and Limited Dependent Variable Models

To estimate the truncated model, press Object/Copy Object… from the tobit equation toolbar again. From the new untitled equation window that appears, press Estimate, mark the Truncated sample option, and click OK. Save the truncated regression by pressing the Name button, say as EQ_TR.

Then the LR test statistic and its p-value can be saved as a scalar by the commands:

scalar lr_test=2*(eq_bin.@logl+eq_tr.@logl-eq_tobit.@logl)

scalar lr_pval=1-@cchisq(lr_test,eq_tobit.@ncoef)

Double click on the scalar name to display the value in the status line at the bottom of the EViews window. For the example data set, the p-value is 0.066, which rejects the tobit model at the 10% level, but not at the 5% level.

For other specification tests for the tobit, see Greene (1997, 20.3.4) or Pagan and Vella (1989).

Truncated Regression Models

A close relative of the censored regression model is the truncated regression model. Suppose that an observation is not observed whenever the dependent variable falls below one threshold, or exceeds a second threshold. This sampling rule occurs, for example, in earnings function studies for low-income families that exclude observations with incomes above a threshold, and in studies of durables demand among individuals who purchase durables.

The general two-limit truncated regression model may be written as:

 

 

 

yi = xiβ + i

(21.32)

where y

i

= y

is only observed if:

 

 

 

 

 

 

i

 

 

< y < c

 

 

 

 

 

 

c

i

i

.

(21.33)

 

 

 

 

i

 

 

If there is no lower truncation, then we can set ci = −∞ . If there is no upper truncation, then we set ci = ∞ .

The log likelihood function associated with these data is given by:

N

 

l( β, σ) = Σ log f( ( yi xiβ) ⁄ σ) 1( ci < yi < ci)

(21.34)

i = 1

− log ( F( ( ci xiβ) ⁄ σ) − F( ( ci xiβ) ⁄ σ) ).

The likelihood function is maximized with respect to β and σ , using standard iterative methods.

Procedures for Truncated Equations—655

Estimating a Truncated Model in EViews

Estimation of a truncated regression model follows the same steps as estimating a censored regression:

Select Quick/Estimate Equation… from the main menu, and in the Equation Specification dialog, select the CENSORED estimation method. The censored and truncated regression dialog will appear.

Enter the name of the truncated dependent variable and the list of the regressors in the Equation Specification field, and select one of the three distributions for the error term. You must enter your specification by list.

Indicate that you wish to estimate the truncated model by checking the Truncated sample option.

Specify the truncation points of the dependent variable by entering the appropriate expressions in the two edit fields. If you leave an edit field blank, EViews will assume that there is no truncation along that dimension.

You should keep a few points in mind. First, truncated estimation is only available for models where the truncation points are known, since the likelihood function is not otherwise defined. If you attempt to specify your truncation points by index, EViews will issue an error message indicating that this selection is not available.

Second, EViews will issue an error message if any values of the dependent variable are outside the truncation points. Furthermore, EViews will automatically exclude any observations that are exactly equal to a truncation point. Thus, if you specify zero as the lower truncation limit, EViews will issue an error message if any observations are less than zero, and will exclude any observations where the dependent variable exactly equals zero.

The cumulative distribution function and density of the assumed distribution will be used to form the likelihood function, as described above.

Procedures for Truncated Equations

EViews provides the same procedures for truncated equations as for censored equations. The residual and forecast calculations differ to reflect the truncated dependent variable and the different likelihood function.

Make Residual Series

Select Proc/Make Residual Series, and select from among the three types of residuals. The three types of residuals for censored models are defined as:

656—Chapter 21. Discrete and Limited Dependent Variable Models

Ordinary

 

eoi

= yi E( yi

 

 

ci

 

ˆ

ˆ

 

 

 

 

 

 

< yi

< ci;xi, β, σ)

 

 

 

 

 

 

 

 

 

 

 

Standardized

 

 

 

yi E( yi

 

 

ci

 

ˆ

ˆ

 

 

 

 

 

 

esi

=

 

 

< yi

< ci;xi, β, σ)

 

 

-----------------------------------------------------------------------------

 

ci

 

ˆ

ˆ -

 

 

 

 

 

 

 

 

 

var( yi

 

 

< yi

< ci;xi, β, σ)

 

 

 

 

 

 

 

 

 

 

 

Generalized

 

 

 

 

 

 

ˆ

ˆ

 

 

 

egi = −

f′( ( yi xiβ) ⁄ σ)

 

 

 

-------------------------------------------

 

ˆ

ˆ

 

 

 

 

 

 

σf( ( yi xiβ) ⁄ σ)

 

 

 

 

f

 

ˆ

ˆ

 

 

 

ˆ

ˆ

 

( ( ci xiβ) ⁄

σ) − f( ( ci xiβ) ⁄

σ)

 

------------------------------------------------------------------------------------------------

 

ˆ

 

ˆ

 

ˆ

ˆ -

 

 

 

 

 

 

 

 

σ( F( ( ci xiβ)

 

σ)−F( ( ci xiβ)

σ))

where f , F , are the density and distribution functions. Details on the computation of

E( i i < i < i ˆ ˆ ) are provided below. i β, σ

y c y c ;x ,

The generalized residuals may be used as the basis of a number of LM tests, including LM tests of normality (see Chesher and Irish (1984, 1987), and Gourieroux, Monfort and Trognon (1987); Greene (1997) provides a brief discussion and additional references).

Forecasting

EViews provides you with the option of forecasting the expected observed dependent vari-

able, E( yi

 

ˆ ˆ

 

 

ˆ ˆ

 

 

 

 

xi, β, σ) , or the expected latent variable, E( yi

 

 

xi, β, σ) .

To forecast the expected latent variable, select Forecast from the equation toolbar to open the forecast dialog, click on Index - Expected latent variable, and enter a name for the

 

 

 

 

 

 

 

ˆ

ˆ

 

 

 

 

 

 

series to hold the output. The forecasts of the expected latent variable E( yi

 

xi, β, σ) are

computed using:

 

 

ˆ

 

ˆ

 

 

 

ˆ

 

 

ˆ

 

 

(21.35)

 

 

 

yi

= E( yi

 

xi, β, σ) =

xiβ .

 

 

To forecast the expected observed dependent variable for the truncated model, you should select Expected dependent variable, and enter a series name. These forecasts are computed using:

ˆ

=

E( yi

 

 

ci

 

ˆ ˆ

(21.36)

 

yi

 

 

< yi

< ci;xi, β, σ)

so that the expectations for the latent variable are taken with respect to the conditional (on being observed) distribution of the yi . Note that these forecasts always satisfy the inequality ci < yˆ i < ci .

It is instructive to compare this latter expected value with the expected value derived for the censored model in Equation (21.30) above (repeated here for convenience):

Procedures for Truncated Equations—657

ˆ

(yi

 

ˆ

 

ˆ

ci Pr(yi = ci

 

ˆ

ˆ

 

 

(21.37)

 

 

 

 

yi = E

 

xi, β,

σ) =

 

xi, β, σ)

 

 

 

 

ci

 

< ci;

ˆ ˆ

 

 

< ci

 

ˆ

ˆ

 

 

 

+ E(yi

 

 

< yi

xi, β, σ) Pr(ci

< yi

 

xi, β, σ)

+ ci Pr(yi = ci

 

ˆ

ˆ

 

 

 

 

 

 

 

 

 

 

 

 

 

 

xi, β, σ).

 

 

 

 

 

 

The expected value of the dependent variable for the truncated model is the first part of the middle term of the censored expected value. The differences between the two expected values (the probability weight and the first and third terms) reflect the different treatment of latent observations that do not lie between ci and ci . In the censored case, those observations are included in the sample and are accounted for in the expected value. In the truncated case, data outside the interval are not observed and are not used in the expected value computation.

Illustration

As an example, we reestimate the Fair tobit model from above, truncating the data so that observations at or below zero are removed from the sample. The output from truncated estimation of the Fair model is presented below:

Dependent Variable: Y_PT

Method: ML - Censored Normal (TOBIT)

Date: 10/13/97 Time: 22:45

Sample(adjusted): 452 601

Included observations: 150 after adjusting endpoints

Truncated sample

Left censoring (value) at zero

Convergence achieved after 8 iterations

Covariance matrix computed using second derivatives

 

Coefficient

Std. Error

z-Statistic

Prob.

 

 

 

 

 

C

12.37288

5.178306

2.389368

0.0169

Z1

-1.336872

1.453133

-0.919993

0.3576

Z2

-0.044792

0.116141

-0.385670

0.6997

Z3

0.544182

0.220119

2.472218

0.0134

Z4

-2.142896

1.787720

-1.198675

0.2307

Z5

-1.423128

0.600472

-2.370014

0.0178

Z6

-0.316721

0.322327

-0.982609

0.3258

Z7

0.621428

0.478827

1.297813

0.1944

Z8

-1.210037

0.552131

-2.191578

0.0284

 

 

 

 

 

Error Distribution

 

 

 

 

 

 

 

SCALE:C(10)

5.379557

0.688875

7.809196

0.0000

 

 

 

 

R-squared

0.654664

Mean dependent var

1.455907

Adjusted R-squared

0.649405

S.D. dependent var

3.298758

S.E. of regression

1.953229

Akaike info criterion

1.333891

Sum squared resid

2254.726

Schwarz criterion

1.407079

Log likelihood

-390.8342

Hannan-Quinn criter.

1.362379

Avg. log likelihood

-0.650306

 

 

 

 

 

 

 

Left censored obs

0

Right censored obs

0

Uncensored obs

150

Total obs

 

150

 

 

 

 

 

Соседние файлы в папке Docs