- •Table of Contents
- •What’s New in EViews 5.0
- •What’s New in 5.0
- •Compatibility Notes
- •EViews 5.1 Update Overview
- •Overview of EViews 5.1 New Features
- •Preface
- •Part I. EViews Fundamentals
- •Chapter 1. Introduction
- •What is EViews?
- •Installing and Running EViews
- •Windows Basics
- •The EViews Window
- •Closing EViews
- •Where to Go For Help
- •Chapter 2. A Demonstration
- •Getting Data into EViews
- •Examining the Data
- •Estimating a Regression Model
- •Specification and Hypothesis Tests
- •Modifying the Equation
- •Forecasting from an Estimated Equation
- •Additional Testing
- •Chapter 3. Workfile Basics
- •What is a Workfile?
- •Creating a Workfile
- •The Workfile Window
- •Saving a Workfile
- •Loading a Workfile
- •Multi-page Workfiles
- •Addendum: File Dialog Features
- •Chapter 4. Object Basics
- •What is an Object?
- •Basic Object Operations
- •The Object Window
- •Working with Objects
- •Chapter 5. Basic Data Handling
- •Data Objects
- •Samples
- •Sample Objects
- •Importing Data
- •Exporting Data
- •Frequency Conversion
- •Importing ASCII Text Files
- •Chapter 6. Working with Data
- •Numeric Expressions
- •Series
- •Auto-series
- •Groups
- •Scalars
- •Chapter 7. Working with Data (Advanced)
- •Auto-Updating Series
- •Alpha Series
- •Date Series
- •Value Maps
- •Chapter 8. Series Links
- •Basic Link Concepts
- •Creating a Link
- •Working with Links
- •Chapter 9. Advanced Workfiles
- •Structuring a Workfile
- •Resizing a Workfile
- •Appending to a Workfile
- •Contracting a Workfile
- •Copying from a Workfile
- •Reshaping a Workfile
- •Sorting a Workfile
- •Exporting from a Workfile
- •Chapter 10. EViews Databases
- •Database Overview
- •Database Basics
- •Working with Objects in Databases
- •Database Auto-Series
- •The Database Registry
- •Querying the Database
- •Object Aliases and Illegal Names
- •Maintaining the Database
- •Foreign Format Databases
- •Working with DRIPro Links
- •Part II. Basic Data Analysis
- •Chapter 11. Series
- •Series Views Overview
- •Spreadsheet and Graph Views
- •Descriptive Statistics
- •Tests for Descriptive Stats
- •Distribution Graphs
- •One-Way Tabulation
- •Correlogram
- •Unit Root Test
- •BDS Test
- •Properties
- •Label
- •Series Procs Overview
- •Generate by Equation
- •Resample
- •Seasonal Adjustment
- •Exponential Smoothing
- •Hodrick-Prescott Filter
- •Frequency (Band-Pass) Filter
- •Chapter 12. Groups
- •Group Views Overview
- •Group Members
- •Spreadsheet
- •Dated Data Table
- •Graphs
- •Multiple Graphs
- •Descriptive Statistics
- •Tests of Equality
- •N-Way Tabulation
- •Principal Components
- •Correlations, Covariances, and Correlograms
- •Cross Correlations and Correlograms
- •Cointegration Test
- •Unit Root Test
- •Granger Causality
- •Label
- •Group Procedures Overview
- •Chapter 13. Statistical Graphs from Series and Groups
- •Distribution Graphs of Series
- •Scatter Diagrams with Fit Lines
- •Boxplots
- •Chapter 14. Graphs, Tables, and Text Objects
- •Creating Graphs
- •Modifying Graphs
- •Multiple Graphs
- •Printing Graphs
- •Copying Graphs to the Clipboard
- •Saving Graphs to a File
- •Graph Commands
- •Creating Tables
- •Table Basics
- •Basic Table Customization
- •Customizing Table Cells
- •Copying Tables to the Clipboard
- •Saving Tables to a File
- •Table Commands
- •Text Objects
- •Part III. Basic Single Equation Analysis
- •Chapter 15. Basic Regression
- •Equation Objects
- •Specifying an Equation in EViews
- •Estimating an Equation in EViews
- •Equation Output
- •Working with Equations
- •Estimation Problems
- •Chapter 16. Additional Regression Methods
- •Special Equation Terms
- •Weighted Least Squares
- •Heteroskedasticity and Autocorrelation Consistent Covariances
- •Two-stage Least Squares
- •Nonlinear Least Squares
- •Generalized Method of Moments (GMM)
- •Chapter 17. Time Series Regression
- •Serial Correlation Theory
- •Testing for Serial Correlation
- •Estimating AR Models
- •ARIMA Theory
- •Estimating ARIMA Models
- •ARMA Equation Diagnostics
- •Nonstationary Time Series
- •Unit Root Tests
- •Panel Unit Root Tests
- •Chapter 18. Forecasting from an Equation
- •Forecasting from Equations in EViews
- •An Illustration
- •Forecast Basics
- •Forecasting with ARMA Errors
- •Forecasting from Equations with Expressions
- •Forecasting with Expression and PDL Specifications
- •Chapter 19. Specification and Diagnostic Tests
- •Background
- •Coefficient Tests
- •Residual Tests
- •Specification and Stability Tests
- •Applications
- •Part IV. Advanced Single Equation Analysis
- •Chapter 20. ARCH and GARCH Estimation
- •Basic ARCH Specifications
- •Estimating ARCH Models in EViews
- •Working with ARCH Models
- •Additional ARCH Models
- •Examples
- •Binary Dependent Variable Models
- •Estimating Binary Models in EViews
- •Procedures for Binary Equations
- •Ordered Dependent Variable Models
- •Estimating Ordered Models in EViews
- •Views of Ordered Equations
- •Procedures for Ordered Equations
- •Censored Regression Models
- •Estimating Censored Models in EViews
- •Procedures for Censored Equations
- •Truncated Regression Models
- •Procedures for Truncated Equations
- •Count Models
- •Views of Count Models
- •Procedures for Count Models
- •Demonstrations
- •Technical Notes
- •Chapter 22. The Log Likelihood (LogL) Object
- •Overview
- •Specification
- •Estimation
- •LogL Views
- •LogL Procs
- •Troubleshooting
- •Limitations
- •Examples
- •Part V. Multiple Equation Analysis
- •Chapter 23. System Estimation
- •Background
- •System Estimation Methods
- •How to Create and Specify a System
- •Working With Systems
- •Technical Discussion
- •Vector Autoregressions (VARs)
- •Estimating a VAR in EViews
- •VAR Estimation Output
- •Views and Procs of a VAR
- •Structural (Identified) VARs
- •Cointegration Test
- •Vector Error Correction (VEC) Models
- •A Note on Version Compatibility
- •Chapter 25. State Space Models and the Kalman Filter
- •Background
- •Specifying a State Space Model in EViews
- •Working with the State Space
- •Converting from Version 3 Sspace
- •Technical Discussion
- •Chapter 26. Models
- •Overview
- •An Example Model
- •Building a Model
- •Working with the Model Structure
- •Specifying Scenarios
- •Using Add Factors
- •Solving the Model
- •Working with the Model Data
- •Part VI. Panel and Pooled Data
- •Chapter 27. Pooled Time Series, Cross-Section Data
- •The Pool Workfile
- •The Pool Object
- •Pooled Data
- •Setting up a Pool Workfile
- •Working with Pooled Data
- •Pooled Estimation
- •Chapter 28. Working with Panel Data
- •Structuring a Panel Workfile
- •Panel Workfile Display
- •Panel Workfile Information
- •Working with Panel Data
- •Basic Panel Analysis
- •Chapter 29. Panel Estimation
- •Estimating a Panel Equation
- •Panel Estimation Examples
- •Panel Equation Testing
- •Estimation Background
- •Appendix A. Global Options
- •The Options Menu
- •Print Setup
- •Appendix B. Wildcards
- •Wildcard Expressions
- •Using Wildcard Expressions
- •Source and Destination Patterns
- •Resolving Ambiguities
- •Wildcard versus Pool Identifier
- •Appendix C. Estimation and Solution Options
- •Setting Estimation Options
- •Optimization Algorithms
- •Nonlinear Equation Solution Methods
- •Appendix D. Gradients and Derivatives
- •Gradients
- •Derivatives
- •Appendix E. Information Criteria
- •Definitions
- •Using Information Criteria as a Guide to Model Selection
- •References
- •Index
- •Symbols
- •.DB? files 266
- •.EDB file 262
- •.RTF file 437
- •.WF1 file 62
- •@obsnum
- •Panel
- •@unmaptxt 174
- •~, in backup file name 62, 939
- •Numerics
- •3sls (three-stage least squares) 697, 716
- •Abort key 21
- •ARIMA models 501
- •ASCII
- •file export 115
- •ASCII file
- •See also Unit root tests.
- •Auto-search
- •Auto-series
- •in groups 144
- •Auto-updating series
- •and databases 152
- •Backcast
- •Berndt-Hall-Hall-Hausman (BHHH). See Optimization algorithms.
- •Bias proportion 554
- •fitted index 634
- •Binning option
- •classifications 313, 382
- •Boxplots 409
- •By-group statistics 312, 886, 893
- •coef vector 444
- •Causality
- •Granger's test 389
- •scale factor 649
- •Census X11
- •Census X12 337
- •Chi-square
- •Cholesky factor
- •Classification table
- •Close
- •Coef (coefficient vector)
- •default 444
- •Coefficient
- •Comparison operators
- •Conditional standard deviation
- •graph 610
- •Confidence interval
- •Constant
- •Copy
- •data cut-and-paste 107
- •table to clipboard 437
- •Covariance matrix
- •HAC (Newey-West) 473
- •heteroskedasticity consistent of estimated coefficients 472
- •Create
- •Cross-equation
- •Tukey option 393
- •CUSUM
- •sum of recursive residuals test 589
- •sum of recursive squared residuals test 590
- •Data
- •Database
- •link options 303
- •using auto-updating series with 152
- •Dates
- •Default
- •database 24, 266
- •set directory 71
- •Dependent variable
- •Description
- •Descriptive statistics
- •by group 312
- •group 379
- •individual samples (group) 379
- •Display format
- •Display name
- •Distribution
- •Dummy variables
- •for regression 452
- •lagged dependent variable 495
- •Dynamic forecasting 556
- •Edit
- •See also Unit root tests.
- •Equation
- •create 443
- •store 458
- •Estimation
- •EViews
- •Excel file
- •Excel files
- •Expectation-prediction table
- •Expected dependent variable
- •double 352
- •Export data 114
- •Extreme value
- •binary model 624
- •Fetch
- •File
- •save table to 438
- •Files
- •Fitted index
- •Fitted values
- •Font options
- •Fonts
- •Forecast
- •evaluation 553
- •Foreign data
- •Formula
- •forecast 561
- •Freq
- •DRI database 303
- •F-test
- •for variance equality 321
- •Full information maximum likelihood 698
- •GARCH 601
- •ARCH-M model 603
- •variance factor 668
- •system 716
- •Goodness-of-fit
- •Gradients 963
- •Graph
- •remove elements 423
- •Groups
- •display format 94
- •Groupwise heteroskedasticity 380
- •Help
- •Heteroskedasticity and autocorrelation consistent covariance (HAC) 473
- •History
- •Holt-Winters
- •Hypothesis tests
- •F-test 321
- •Identification
- •Identity
- •Import
- •Import data
- •See also VAR.
- •Index
- •Insert
- •Instruments 474
- •Iteration
- •Iteration option 953
- •in nonlinear least squares 483
- •J-statistic 491
- •J-test 596
- •Kernel
- •bivariate fit 405
- •choice in HAC weighting 704, 718
- •Kernel function
- •Keyboard
- •Kwiatkowski, Phillips, Schmidt, and Shin test 525
- •Label 82
- •Last_update
- •Last_write
- •Latent variable
- •Lead
- •make covariance matrix 643
- •List
- •LM test
- •ARCH 582
- •for binary models 622
- •LOWESS. See also LOESS
- •in ARIMA models 501
- •Mean absolute error 553
- •Metafile
- •Micro TSP
- •recoding 137
- •Models
- •add factors 777, 802
- •solving 804
- •Mouse 18
- •Multicollinearity 460
- •Name
- •Newey-West
- •Nonlinear coefficient restriction
- •Wald test 575
- •weighted two stage 486
- •Normal distribution
- •Numbers
- •chi-square tests 383
- •Object 73
- •Open
- •Option setting
- •Option settings
- •Or operator 98, 133
- •Ordinary residual
- •Panel
- •irregular 214
- •unit root tests 530
- •Paste 83
- •PcGive data 293
- •Polynomial distributed lag
- •Pool
- •Pool (object)
- •PostScript
- •Prediction table
- •Principal components 385
- •Program
- •p-value 569
- •for coefficient t-statistic 450
- •Quiet mode 939
- •RATS data
- •Read 832
- •CUSUM 589
- •Regression
- •Relational operators
- •Remarks
- •database 287
- •Residuals
- •Resize
- •Results
- •RichText Format
- •Robust standard errors
- •Robustness iterations
- •for regression 451
- •with AR specification 500
- •workfile 95
- •Save
- •Seasonal
- •Seasonal graphs 310
- •Select
- •single item 20
- •Serial correlation
- •theory 493
- •Series
- •Smoothing
- •Solve
- •Source
- •Specification test
- •Spreadsheet
- •Standard error
- •Standard error
- •binary models 634
- •Start
- •Starting values
- •Summary statistics
- •for regression variables 451
- •System
- •Table 429
- •font 434
- •Tabulation
- •Template 424
- •Tests. See also Hypothesis tests, Specification test and Goodness of fit.
- •Text file
- •open as workfile 54
- •Type
- •field in database query 282
- •Units
- •Update
- •Valmap
- •find label for value 173
- •find numeric value for label 174
- •Value maps 163
- •estimating 749
- •View
- •Wald test 572
- •nonlinear restriction 575
- •Watson test 323
- •Weighting matrix
- •heteroskedasticity and autocorrelation consistent (HAC) 718
- •kernel options 718
- •White
- •Window
- •Workfile
- •storage defaults 940
- •Write 844
- •XY line
- •Yates' continuity correction 321
922—Chapter 29. Panel Estimation
The standard errors that we report here are the standard Arellano-Bond 2-step estimator standard errors. Note that there is evidence in the literature that the standard errors for the two-step estimator may not be reliable.
The bottom portion of the output displays additional information about the specification and summary statistics:
Effects Specification
Cross-section fixed (first differences)
Period fixed (dummy variables)
R-squared |
0.384678 |
Mean dependent var |
-0.055606 |
Adjusted R-squared |
0.372331 |
S.D. dependent var |
0.146724 |
S.E. of regression |
0.116243 |
Sum squared resid |
8.080432 |
Durbin-Watson stat |
2.844824 |
J-statistic |
30.11247 |
Instrument rank |
38.00000 |
|
|
|
|
|
|
|
|
|
|
Note in particular the results labeled “J-statistic” and “Instrument rank”. Since the reported J-statistic is simply the Sargan statistic (value of the GMM objective function at estimated parameters), and the instrument rank of 38 is greater than the number of estimated coefficients (13), we may use it to construct the Sargan test of over-identifying restrictions. It is worth noting here that the J-statistic reported by a panel equation differs from that reported by an ordinary equation by a factor equal to the number of observations. Under the null hypothesis that the over-identifying restrictions are valid, the Sargan statistic is distributed as a χ( k − p ) , where k is the number of estimated coefficients and p is the instrument rank. The p-value of 0.22 in this example may be computed using “scalar pval = @chisq(30.11247, 25)”.
Panel Equation Testing
Omitted Variables Test
You may perform an F-est of the joint significance of variables that are presently omitted from a panel or pool equation estimated by list. Select View/Coefficient Tests/Omitted Variables - Likelihood Ratio... and in the resulting dialog, enter the names of the variables you wish to add to the default specification. If estimating in a pool setting, you should enter the desired pool or ordinary series in the appropriate edit box (common, cross-section specific, period specific).
When you click on OK, EViews will first estimate the unrestricted specification, then form the usual F-est, and will display both the test results as well as the results from the unrestricted specification in the equation or pool window.
Panel Equation Testing—923
Adapting Example 10.6 from Wooldridge (2002, p. 282) slightly, we may first estimate a pooled sample equation for a model of the effect of job training grants on LSCRAP using first differencing. The restricted set of explanatory variables includes a constant and D89. The results from the restricted estimator are given by:
Dependent Variable: D(LSCRAP)
Method: Panel Least Squares
Date: 11/24/04 Time: 09:15
Sample (adjusted): 1988 1989
Cross-sections included: 54
Total panel (balanced) observations: 108
Variable |
Coefficient |
Std. Error |
t-Statistic |
Prob. |
|
|
|
|
|
|
|
|
|
|
C |
-0.168993 |
0.078872 |
-2.142622 |
0.0344 |
D89 |
-0.104279 |
0.111542 |
-0.934881 |
0.3520 |
|
|
|
|
|
|
|
|
|
|
R-squared |
0.008178 |
Mean dependent var |
-0.221132 |
|
Adjusted R-squared |
-0.001179 |
S.D. dependent var |
0.579248 |
|
S.E. of regression |
0.579589 |
Akaike info criterion |
1.765351 |
|
Sum squared resid |
35.60793 |
Schwarz criterion |
1.815020 |
|
Log likelihood |
-93.32896 |
F-statistic |
|
0.874003 |
Durbin-Watson stat |
1.445487 |
Prob(F-statistic) |
0.351974 |
|
|
|
|
|
|
|
|
|
|
|
We wish to test the significance of the first differences of the omitted job training grant variables GRANT and GRANT_1. Click on View/Coefficient Tests/Omitted Variables - Likelihood Ratio... and type “D(GRANT)” and “D(GRANT_1)” to enter the two variables in differences. Click on OK to display the omitted variables test results.
The top portion of the results contains a brief description of the test, the test statistic values, and the associated significance levels:
Omitted Variables: D(GRANT) D(GRANT_1)
F-statistic |
1.529525 |
Prob. F(2,104) |
0.221471 |
Log likelihood ratio |
3.130883 |
Prob. Chi-Square(2) |
0.208996 |
Here, the test statistics do not reject, at conventional significance levels, the null hypothesis that D(GRANT) and D(GRANT_1) are jointly irrelevant.
The bottom portion of the results shows the test equation which estimates under the unrestricted alternative:
924—Chapter 29. Panel Estimation
Test Equation:
Dependent Variable: D(LSCRAP)
Method: Panel Least Squares
Date: 11/24/04 Time: 09:52
Sample: 1988 1989
Cross-sections included: 54
Total panel (balanced) observations: 108
Variable |
Coefficient |
Std. Error |
t-Statistic |
Prob. |
|
|
|
|
|
|
|
|
|
|
C |
-0.090607 |
0.090970 |
-0.996017 |
0.3216 |
D89 |
-0.096208 |
0.125447 |
-0.766923 |
0.4449 |
D(GRANT) |
-0.222781 |
0.130742 |
-1.703970 |
0.0914 |
D(GRANT_1) |
-0.351246 |
0.235085 |
-1.494124 |
0.1382 |
|
|
|
|
|
|
|
|
|
|
R-squared |
0.036518 |
Mean dependent var |
-0.221132 |
Adjusted R-squared |
0.008725 |
S.D. dependent var |
0.579248 |
S.E. of regression |
0.576716 |
Akaike info criterion |
1.773399 |
Sum squared resid |
34.59049 |
Schwarz criterion |
1.872737 |
Log likelihood |
-91.76352 |
F-statistic |
1.313929 |
Durbin-Watson stat |
1.498132 |
Prob(F-statistic) |
0.273884 |
|
|
|
|
|
|
|
|
Note that if appropriate, the alternative specification will be estimated using the cross-sec- tion or period GLS weights obtained from the restricted specification. If these weights were not saved with the restricted specification and are not available, you may first be asked to reestimate the original specification.
Redundant Variables Test
You may perform an F-est of the joint significance of variables that are presently included in a panel or pool equation estimated by list. Select View/Coefficient Tests/Redundant Variables - Likelihood Ratio... and in the resulting dialog, enter the names of the variables in the current specification that you wish to remove in the restricted model.
When you click on OK, EViews will estimate the restricted specification, form the usual F- est, and will display the test results and restricted estimates. Note that if appropriate, the alternative specification will be estimated using the cross-section or period GLS weights obtained from the unrestricted specification. If these weights were not saved with the specification and are not available, you may first be asked to reestimate the original specification.
To illustrate the redundant variables test, consider Example 10.4 from Wooldridge (2002, p. 262), where we test for the redundancy of GRANT and GRANT_1 in a specification estimated with cross-section random effects. The top portion of the unrestricted specification is given by:
Panel Equation Testing—925
.
Dependent Variable: LSCRAP
Method: Panel EGLS (Cross-section random effects)
Date: 11/24/04 Time: 11:25
Sample: 1987 1989
Cross-sections included: 54
Total panel (balanced) observations: 162
Swamy and Arora estimator of component variances
Variable |
Coefficient |
Std. Error |
t-Statistic |
Prob. |
|
|
|
|
|
|
|
|
|
|
C |
0.414833 |
0.242965 |
1.707379 |
0.0897 |
D88 |
-0.093452 |
0.108946 |
-0.857779 |
0.3923 |
D89 |
-0.269834 |
0.131397 |
-2.053577 |
0.0417 |
UNION |
0.547802 |
0.409837 |
1.336635 |
0.1833 |
GRANT |
-0.214696 |
0.147500 |
-1.455565 |
0.1475 |
GRANT_1 |
-0.377070 |
0.204957 |
-1.839747 |
0.0677 |
|
|
|
|
|
|
|
|
|
|
|
Effects Specification |
|
|
|
|
|
|
S.D. |
Rho |
|
|
|
|
|
|
|
|
|
|
Cross-section random |
|
|
1.390029 |
0.8863 |
Idiosyncratic random |
|
|
0.497744 |
0.1137 |
|
|
|
|
|
|
|
|
|
|
Note in particular that our unrestricted model is a random effects specification using Swamy and Arora estimators for the component variances, and that the estimates of the cross-section and idiosyncratic random effects standard deviations are 1.390 and 0.4978, respectively.
If we select the redundant variables test, and perform a joint test on GRANT and GRANT_1, EViews displays the test results in the top of the results window:
Redundant Variables: GRANT GRANT_1
F-statistic |
1.832264 |
Prob. F(2,156) |
0.163478 |
|
|
|
|
|
|
|
|
Here we see that the statistic value of 1.832 does not lead us to reject, at conventional significant levels, the null hypothesis that GRANT and GRANT_1 are redundant in the unrestricted specification.
The restricted test equation results are depicted in the bottom portion of the window. Here we see the top portion of the results for the restricted equation:
926—Chapter 29. Panel Estimation
Test Equation:
Dependent Variable: LSCRAP
Method: Panel EGLS (Cross-section random effects)
Date: 11/24/04 Time: 11:31
Sample: 1987 1989
Cross-sections included: 54
Total panel (balanced) observations: 162
Use pre-specified random component estimates
Swamy and Arora estimator of component variances
Variable |
Coefficient |
Std. Error |
t-Statistic |
Prob. |
|
|
|
|
|
|
|
|
|
|
C |
0.419327 |
0.073162 |
5.731525 |
0.0000 |
D88 |
-0.168993 |
0.095791 |
-1.764187 |
0.0796 |
D89 |
-0.442265 |
0.095791 |
-4.616981 |
0.0000 |
UNION |
0.534321 |
0.082957 |
6.440911 |
0.0000 |
|
|
|
|
|
|
|
|
|
|
|
Effects Specification |
|
|
|
|
|
|
S.D. |
Rho |
|
|
|
|
|
|
|
|
|
|
Cross-section random |
|
|
1.390029 |
0.8863 |
Idiosyncratic random |
|
|
0.497744 |
0.1137 |
|
|
|
|
|
|
|
|
|
|
The first thing to note is that the restricted specification removes the test variables GRANT and GRANT_1. Note further that the output indicates that we are using existing estimates of the random component variances (“Use pre-specified random component estimates”), and that the displayed results for the effects match those for the unrestricted specification.
Fixed Effects Testing
EViews 5.1 provides built-in tools for testing the joint significance of the fixed effects estimates in least squares specifications. To test the significance of your effects you must first estimate the unrestricted specification that includes the effects of interest. Next, select
View/Fixed/Random Effects Testing/Redundant Fixed Effects – Likelihood Ratio. EViews will estimate the appropriate restricted specifications, and will display the test output as well as the results for the restricted specifications.
Note that where the unrestricted specification is a two-way fixed effects estimator, EViews will test the joint significance of all of the effects as well as the joint significance of the cross-section effects and the period effects separately.
Let us consider Example 3.6.2 in Baltagi (2001), in which we estimate a two-way fixed effects model. The results for the unrestricted estimated gasoline demand equation are given by:
Panel Equation Testing—927
Dependent Variable: LGASPCAR
Method: Panel Least Squares
Date: 11/24/04 Time: 11:57
Sample: 1960 1978
Cross-sections included: 18
Total panel (balanced) observations: 342
Variable |
Coefficient |
Std. Error |
t-Statistic |
Prob. |
|
|
|
|
|
|
|
|
|
|
C |
-0.855103 |
0.385169 |
-2.220073 |
0.0272 |
LINCOMEP |
0.051369 |
0.091386 |
0.562103 |
0.5745 |
LRPMG |
-0.192850 |
0.042860 |
-4.499545 |
0.0000 |
LCARPCAP |
-0.593448 |
0.027669 |
-21.44787 |
0.0000 |
|
|
|
|
|
|
|
|
|
|
Effects Specification
Cross-section fixed (dummy variables)
Period fixed (dummy variables)
R-squared |
0.980564 |
Mean dependent var |
4.296242 |
Adjusted R-squared |
0.978126 |
S.D. dependent var |
0.548907 |
S.E. of regression |
0.081183 |
Akaike info criterion |
-2.077237 |
Sum squared resid |
1.996961 |
Schwarz criterion |
-1.639934 |
Log likelihood |
394.2075 |
F-statistic |
402.2697 |
Durbin-Watson stat |
0.348394 |
Prob(F-statistic) |
0.000000 |
|
|
|
|
|
|
|
|
Note that the specification has both cross-section and period fixed effects. When you select the fixed effect test from the equation menu, EViews estimates three restricted specifications: one with period fixed effects only, one with cross-section fixed effects only, and one with only a common intercept. The test results are displayed at the top of the results window:
Redundant Fixed Effects Tests
Equation: Untitled
Test cross-section and period fixed effects
Effects Test |
Statistic |
d.f. |
Prob. |
|
|
|
|
|
|
|
|
Cross-section F |
113.351303 |
(17,303) |
0.0000 |
Cross-section Chi-square |
682.635958 |
17 |
0.0000 |
Period F |
6.233849 |
(18,303) |
0.0000 |
Period Chi-square |
107.747064 |
18 |
0.0000 |
Cross-Section/Period F |
55.955615 |
(35,303) |
0.0000 |
Cross-Section/Period Chi-square |
687.429282 |
35 |
0.0000 |
|
|
|
|
|
|
|
|
928—Chapter 29. Panel Estimation
Notice that there are three sets of tests. The first set consists of two tests that evaluate the joint significance of the cross-section effects using sums-of-squares (F-est) and the likelihod function (Chi-square test). The corresponding restricted specification is one in which there are period effects only. The two statistic values (113.35 and 682.64) and the associated p-values strongly reject the null that the effects are redundant.
The remaining results evaluate the joint significance of the period effects, and of all of the effects, respectively. All of the results suggest that the corresponding effects are statistically significant.
Below the test statistic results, EViews displays the results for the test equations. In this example, there are three distinct restricted equations so EViews shows three sets of estimates.
Lastly, note that this test statistic is not currently available for instrumental variables and GMM specifications.
Hausman Test for Correlated Random Effects
A central assumption in random effects estimation is the assumption that the random effects are uncorrelated with the explanatory variables. One common method for testing this assumption is to employ a Hausman (1978) test to compare the fixed and random effects estimates of coefficients (for discussion see, for example Wooldridge (2002, p. 288), and Baltagi (2001, p. 65)).
To perform the Hausman test, you must first estimate a model with your random effects specification. Next, select View/Fixed/Random Effects Testing/Correlated Random Effects - Hausman Test. EViews will automatically estimate the corresponding fixed effects specifications, compute the test statistics, and display the results and auxiliary equations.
For example, Baltagi (2001) considers an example of Hausman testing (Example 1, p. 69), in which the results for a Swamy-Arora random effects estimator for the Grunfeld data are compared with those obtained from the corresponding fixed effects estimator. To perform this test in EViews 5.1, we first estimate the random effects estimator, obtaining the results:
Panel Equation Testing—929
Dependent Variable: I |
|
|
|
|
Method: Panel EGLS (Cross-section random effects) |
|
|
||
Date: 11/24/04 |
Time: 12:45 |
|
|
|
Sample: 1935 1954 |
|
|
|
|
Cross-sections included: 10 |
|
|
|
|
Total panel (balanced) observations: 200 |
|
|
|
|
Swamy and Arora estimator of component variances |
|
|
||
|
|
|
|
|
|
|
|
|
|
Variable |
Coefficient |
Std. Error |
t-Statistic |
Prob. |
|
|
|
|
|
|
|
|
|
|
C |
-57.83441 |
28.88930 |
-2.001932 |
0.0467 |
F |
0.109781 |
0.010489 |
10.46615 |
0.0000 |
K |
0.308113 |
0.017175 |
17.93989 |
0.0000 |
|
|
|
|
|
|
|
|
|
|
|
Effects Specification |
|
|
|
|
|
|
S.D. |
Rho |
|
|
|
|
|
|
|
|
|
|
Cross-section random |
|
84.20095 |
0.7180 |
|
Idiosyncratic random |
|
52.76797 |
0.2820 |
|
|
|
|
|
|
|
|
|
|
|
Next we select the Hausman test from the equation menu by clicking on View/Fixed/Random Effects Testing/Hausman Test of Random vs. Fixed. EViews estimates the corresponding fixed effects estimator, evaluates the test, and displays the results in the equation window. If the original specification is a two-way random effects model, EViews will test the two sets of effects separately as well as jointly.
There are three parts to the output. The top portion describes the test statistic and provides a summary of the results. Here we have:
Hausman Specification Test (Random vs. Fixed Effects)
Equation: EQ263
Test for correlated cross-section random effects
|
Chi-Sq. |
|
|
Test Summary |
Statistic |
Chi-Sq. d.f. |
Prob. |
|
|
|
|
|
|
|
|
Cross-section random |
2.131366 |
2 |
0.3445 |
|
|
|
|
|
|
|
|
The statistic provide little evidence against the null hypothesis that there is no misspecification.
The next portion of output provides additional test detail, showing the coefficient estimates from both the random and fixed effects estimators, along with the variance of the difference and associated p-values for the hypothesis that there is no difference. Note that in some cases, the estimated variances can be negative so that the probabilities cannot be computed.
