如何在stata中输入panel data 数据
展开全部
tsset firm year xtreg y x, fe
下面会给出f test的值 如果显著 说明fixed effect 显著 fixed better than pooled ols xtreg y x, re
下面会给出Lm的值 如果显著 说明random effect显著 random better than pooled ols
xtreg y x, fe estimates store fe xtreg y x, re hausman fe 这个是检验到底用fixed 还是random
下面会给出f test的值 如果显著 说明fixed effect 显著 fixed better than pooled ols xtreg y x, re
下面会给出Lm的值 如果显著 说明random effect显著 random better than pooled ols
xtreg y x, fe estimates store fe xtreg y x, re hausman fe 这个是检验到底用fixed 还是random
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询