全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
691 2
2023-03-21
求指教: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])

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2023-3-21 22:28:01
顶顶顶!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2023-3-21 22:38:18
另:求教关于ologit模型组件系数差异检验的方法有哪些?太多方法是关于ols回归的了
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群