Dear all,
I have some serious trouble when analyzing the panel data I attached to this post. I assume for some of you it's pretty basic so I'm really hoping for any help.
I want to figure out which of the three models fit best to analyze this panel data (cross-sectional time-series data). For that reason, I know that I have to run several tests:
1. OLS vs. Fixed Effects Model: F-test
2. OLS vs. Random Effects Model: Lagrange multiplier test
3. Random vs. Fixed Effects Model: Hausman test
Some facts about the data:
Dependent variables: ROE, ROA, NIIR, StockReturn
Independent variable: Hybrid
Control variables: SizeTA/SizeGWP, RiskBeta
Time period: 2009-2014
N=39
I have run the F-test (OLS vs. FEM) for the dependent variable ROE (as an example). Command: .xtreg ROE Hybrid SizeTA RiskBeta, fe
Then, there are two F-tests stated, one above the table and one under the table. Which one is the one I have to look at?
After that I have run the Lagrange multiplier test (OLS vs. REM). Command: .xtreg ROE Hybrid SizeTA RiskBeta, re; .xttest0
So, if Prob>chi2=0.05 the REM is to be preferred, correct?
Lastly, I ran the hausman test (FEM vs. REM). Command: hausman fixed random
Then, there is this kind of error message:
“the rank of the differenced variance matrix (2) does not equal the number of coefficients being tested (3); be sure this is what you expect, or there may be problems computing the test…”. There is also something mentioned with “not positive definite” on the bottom. How to deal with that? Does that mean the test is not applicable?
However, I think that the Fixed Effects Model is the one to be applied here but, of course, I have to proof it with the above-mentioned tests. When I used the Random Effects Model there is always no chi2 test result to assess the significance of the test. Thus, I guess this model is not appropriate here.
Maybe someone can run the example with the dependent variable ROE by using the stata file I attached. I would really appreciate any help as soon as possible.
Many thanks in advance!
Best,
Tommy
I have some serious trouble when analyzing the panel data I attached to this post. I assume for some of you it's pretty basic so I'm really hoping for any help.
I want to figure out which of the three models fit best to analyze this panel data (cross-sectional time-series data). For that reason, I know that I have to run several tests:
1. OLS vs. Fixed Effects Model: F-test
2. OLS vs. Random Effects Model: Lagrange multiplier test
3. Random vs. Fixed Effects Model: Hausman test
Some facts about the data:
Dependent variables: ROE, ROA, NIIR, StockReturn
Independent variable: Hybrid
Control variables: SizeTA/SizeGWP, RiskBeta
Time period: 2009-2014
N=39
I have run the F-test (OLS vs. FEM) for the dependent variable ROE (as an example). Command: .xtreg ROE Hybrid SizeTA RiskBeta, fe
Then, there are two F-tests stated, one above the table and one under the table. Which one is the one I have to look at?
After that I have run the Lagrange multiplier test (OLS vs. REM). Command: .xtreg ROE Hybrid SizeTA RiskBeta, re; .xttest0
So, if Prob>chi2=0.05 the REM is to be preferred, correct?
Lastly, I ran the hausman test (FEM vs. REM). Command: hausman fixed random
Then, there is this kind of error message:
“the rank of the differenced variance matrix (2) does not equal the number of coefficients being tested (3); be sure this is what you expect, or there may be problems computing the test…”. There is also something mentioned with “not positive definite” on the bottom. How to deal with that? Does that mean the test is not applicable?
However, I think that the Fixed Effects Model is the one to be applied here but, of course, I have to proof it with the above-mentioned tests. When I used the Random Effects Model there is always no chi2 test result to assess the significance of the test. Thus, I guess this model is not appropriate here.
Maybe someone can run the example with the dependent variable ROE by using the stata file I attached. I would really appreciate any help as soon as possible.
Many thanks in advance!
Best,
Tommy
Comment