However, in EViews 8.1, there seems some problems
Code: Select all
%ex8 = "\Example Files\EV8 Manual Data\"
%ch40 = "Chapter 40 - Working with Panel Data"
%wf = @evpath + %ex8 +%ch40 +"\grunfeld_baltagi_panel.wf1"
wfopen %wf
rename c01 K
'Near singular matrix, the following 3 eqs
'equation eq10.ls(CX=R) I @expand(fn) F K
'equation eq11.ls(CX=R,RANCALC=WH) I @expand(fn) F K
'equation eq12.ls(CX=R,RANCALC=WK) I @expand(fn) F K
'work for RANCALC={ WH WK}
'equation eq20.ls(CX=R) I c @expand(fn,@droplast) F K '# of cross < # of coef
equation eq21.ls(CX=R,RANCALC=WH) I c @expand(fn,@droplast) F K 'QUE by POLS
equation eq22.ls(CX=R,RANCALC=WK) I c @expand(fn,@droplast) F K 'QUE by LSDV
In this short codes
1 eq10, eq11 and eq12 all lead to "Near singular matrix" error, why?
2 eq21 and eq22 works, why not "Near singular matrix" like eq11 and eq12?
3 Eq20 does not work, for the QUE is estimated by Between estimator, where the number of observation (cross section member) is less than the number of coefficients. We know that eq22 uses LSDV for QUE, why not "Near singular matrix" in the LSDV step?