-1

整天运行这些命令后,我的头着火了,我现在伸出手来。请不要将我引向网络上经常提到的有关 Suest 的论文,我已经检查过了。 存储 AME 的 dy/dx 值以在 suest 命令中合并不同模型以执行测试命令似乎存在问题。

我想测试的是,一个政权/背景下的下层阶级/上层阶级/中产阶级的 AME 与位于另一个政权/背景下的下层阶级相比是否具有统计学意义。因变量:3 类:租房者、抵押房屋所有权、完全房屋所有权。

   *Liberal_market
   mlogit  owner_housing_debt2  United_States United_Kingdom Swizerland  c.age_centered 
   ib0.lower_class ib0.upper_class if homeownership_regimes==1 , 
   baseoutcome(1) 
   margins ,  dydx(lower_class upper_class) coeflegend post
   est store Liberal_market

  *Family_financial_support

 mlogit  owner_housing_debt2  Belgium Finland France Ireland Luxembourg Norway Spain 
 ib0.lower_class ib0.upper_class if homeownership_regimes==2 , baseoutcome(1) 
 margins ,  dydx(lower_class upper_class) coeflegend post
 est store Family_financial_support

 est table Liberal_market  Family_financial_support

 suest Liberal_market Family_financial_support

 **In the end, this is what I want to do:
  test [Liberal_market]1.lower_class =[Family_financial_support]1.lower_class

*错误消息 Liberal_market 是用非标准的 vce (delta) r(322) 估计的;

- 不幸的是,Statalist 关于 suest 中的非标准 vce 的以下回答对我也没有帮助 https://www.statalist.org/forums/forum/general-stata-discussion/general/1511169-can-not-use -suest-for-margins-after-probit-or-regress

将感谢您的解决方案:)

4

1 回答 1

0

谢谢你。我试过你的建议。不幸的是,我找不到一个有组织的文档,其中包含带有边距的 xlincom 示例。我尝试了以下代码,但我的问题是在 suest 之后从 2 个单独的 mlogit reg 中提取自变量类别(1.lower_class 和 1.upper_class)的边距。我的意思是,如何在命令中定义我想要模型 A 的 1.lower 类和模型 B 的 1.lower_class 在边距和 xlincom 中。请看下面我的例子:

   mlogit  owner_housing_debt2  ib0.lower_class ib0.upper_class if regime==1, 
   baseoutcome(1) 

   est store A

  mlogit  owner_housing_debt2  ib0.lower_class ib0.upper_class if regime==2, 
  baseoutcome(1) 

  est store B

  suest A B


  margins  1.lower_class  1.upper_class, coeflegend post

  lincom _b[1.lower_class] - _b[1.upper_class]
于 2021-04-25T22:34:43.127 回答