求指教:ologit回归进行分组检验时,如何利用suest似无相关检验进行组间系数差异检验?我的两组面板数据的具体回归为:ologit y x1 x2 i.ind i.year , robust cluster( Stkcd ) ,if z==1
ologit y x1 x2 i.ind i.year , robust cluster( Stkcd ) ,if z==0
目的是:比较两组回归模型中x1的回归系数是否具有显著差异
在用help suest时看到有关ologit模型的命令(如下),但!我没看懂svyset psuid [pw=finalwgt], strata(stratid)这一命令的用意以及是否能用于我的数据,相关资料也比较少,所以请教大佬该怎么办?
Example 4: Using suest with survey data, the svy prefix
. webuse nhanes2f
. svyset psuid [pw=finalwgt], strata(stratid)
. svy: ologit health female black age age2
. estimates store H5
. gen health3 = clip(health,2,4)
. svy: ologit health3 female black age age2
. estimates store H3
. suest H5 H3
. test [H5_health=H3_health3]
. test ([/H5_cut2]=[/H3_cut1]) ([/H5_cut3]=[/H3_cut2])
Example 5: Using suest with survey data, the svy option
. webuse nhanes2f, clear
. svyset psuid [pw=finalwgt], strata(stratid)
. ologit health female black age age2 [iw=finalwgt]
. estimates store H5
. gen health3 = clip(health,2,4)
. ologit health3 female black age age2 [iw=finalwgt]
. estimates store H3
. suest H5 H3, svy
. test [H5_health=H3_health3]
. test ([/H5_cut2]=[/H3_cut1]) ([/H5_cut3]=[/H3_cut2])