Likelihood Ratio Test / 3SLS System
Posted: Tue Aug 17, 2010 11:59 am
Hello All
I want to test a restriction with the likelihood ratio test. The two models are:
The Restricted (REST)
R1 = C(11)*(C(1)+XCR) + C(12)*(C(2)+XDCR) + C(13)*(C(3)+XDTR) + C(14)*(C(4)+XEI) .....
R2 = C(21)*(C(1)+XCR) + C(22)*(C(2)+XDCR) + C(23)*(C(3)+XDTR) + C(24)*(C(4)+XEI) .....
.
.
.
R60 = C(601)*(C(1)+XCR) + C(602)*(C(2)+XDCR) + C(603)*(C(3)+XDTR) + C(604)*(C(4)+XEI) .....
The Unrestricted (UNREST)
R1 = C(605) + C(606)*XCR + C(607)*XDCR + C(608)*XDTR + C(609)*XEI .....
R2 = C(616) + C(617)*XCR + C(618)*XDCR + C(619)*XDTR + C(620)*XEI .....
.
.
.
R60 = C(716) + C(717)*XCR + C(718)*XDCR + C(719)*XDTR + C(720)*XEI .....
The Restrictions
C(605) = c(11)*c(1) + c(12)*c(2) + c(13)*c(3) + c(14)*c(4) .....
C(616) = c(21)*c(1) + c(22)*c(2) + c(23)*c(3) + c(24)*c(4) .....
.
.
.
C(605) = c(601)*c(1) + c(602)*c(2) + c(603)*c(3) + c(604)*c(4) .....
The two systems are estimated with 3SLS , treating one explanatory variable as endogenous and using a few instruments.
I would like to ask 2 questions:
Q.1. Is it possible to run a likelihood ratio test when the models are systems?
This is the command I am typing for the test statistic:
scalar LR = -2*( REST.@logl - UNREST.@logl )
when I double click the new object I get “ NA “.
Even this yields the same:
Scalar LR = sys1.@logl where sys1 is a simple OLS system.
Q.2. For the estimation of the restricted model with 3SLS is it appropriate to use stacked instruments or equation-by-equation instruments?
I am not sure what the difference between the two is. However, with @STACKINST I get “Near Singular Matrix” where with @INST I get a successful estimation.
Thank you in advance
I want to test a restriction with the likelihood ratio test. The two models are:
The Restricted (REST)
R1 = C(11)*(C(1)+XCR) + C(12)*(C(2)+XDCR) + C(13)*(C(3)+XDTR) + C(14)*(C(4)+XEI) .....
R2 = C(21)*(C(1)+XCR) + C(22)*(C(2)+XDCR) + C(23)*(C(3)+XDTR) + C(24)*(C(4)+XEI) .....
.
.
.
R60 = C(601)*(C(1)+XCR) + C(602)*(C(2)+XDCR) + C(603)*(C(3)+XDTR) + C(604)*(C(4)+XEI) .....
The Unrestricted (UNREST)
R1 = C(605) + C(606)*XCR + C(607)*XDCR + C(608)*XDTR + C(609)*XEI .....
R2 = C(616) + C(617)*XCR + C(618)*XDCR + C(619)*XDTR + C(620)*XEI .....
.
.
.
R60 = C(716) + C(717)*XCR + C(718)*XDCR + C(719)*XDTR + C(720)*XEI .....
The Restrictions
C(605) = c(11)*c(1) + c(12)*c(2) + c(13)*c(3) + c(14)*c(4) .....
C(616) = c(21)*c(1) + c(22)*c(2) + c(23)*c(3) + c(24)*c(4) .....
.
.
.
C(605) = c(601)*c(1) + c(602)*c(2) + c(603)*c(3) + c(604)*c(4) .....
The two systems are estimated with 3SLS , treating one explanatory variable as endogenous and using a few instruments.
I would like to ask 2 questions:
Q.1. Is it possible to run a likelihood ratio test when the models are systems?
This is the command I am typing for the test statistic:
scalar LR = -2*( REST.@logl - UNREST.@logl )
when I double click the new object I get “ NA “.
Even this yields the same:
Scalar LR = sys1.@logl where sys1 is a simple OLS system.
Q.2. For the estimation of the restricted model with 3SLS is it appropriate to use stacked instruments or equation-by-equation instruments?
I am not sure what the difference between the two is. However, with @STACKINST I get “Near Singular Matrix” where with @INST I get a successful estimation.
Thank you in advance