BP Test for Random Effects

Questions related to panel (pooled cross-section time series) data.
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

BP Test for Random Effects

Unread post by TomDoan »

This is an example of the use of the @BPPANELTESTS procedure for testing for the presence of random effects (vs no effects). This replicates part of Table 4.1 in Baltagi, "Econometric Analysis of Panel Data", 4th ed.

Code: Select all

*
* Baltagi, "Econometric Analysis of Panel Data", 4th ed.
* Example 4.2.7, pp 69-72
*
open data grunfeld.xls
calendar(panelobs=20,a) 1935
all 10//1954:01
data(format=xls,org=columns) 1//1935:01 10//1954:01 firm year invest value cap
*
linreg invest
# constant value cap
@bppaneltests(effects=both) %resids
Data file:
grunfeld.xls
Data file
(31 KiB) Downloaded 1084 times
Post Reply