stata - 如何获得stata中每条交互线的系数?
问题描述
当我使用“边距图”时,我得到了上图。
如何获得每条橙色、绿色、红色、蓝色线的系数?
我使用了下面的代码。我从 margins 命令报告中得到了结果。但是,他们会报告 iv 和 moderator 都固定在特定点的结果。我想知道的是 iv 的系数,例如,当 mo1 固定为 1(最低值)
xtreg y c.iv##c.mo1 c.iv##c.mo2, fe # both interactions are significant.
margins, at(mo1 = (1(1)4) iv = (1(1)4) mo2 = 0)
marginsplot
解决方案
推荐阅读
- python - 带有两个日期的 django 过滤器
- mysql - 如何在MYSQL中查找哪个用户删除了存储过程
- angular - 如何根据用户输入添加表单控件名称
- jasper-reports - Jasper/iReport - 超长文本无法在 excel 导出中正确显示
- python - 为什么我需要多个节点才能简单地索引文档?
- java - 为什么我的单向 @ManyToOne 关系中的表没有加入 Spring Data findAll() 查询?
- r - 遍历嵌套数据框并在 RMarkdown 中打印 kables
- asp.net-core-2.0 - 登录后 ASP.NET MVC Core 3.0 在浏览器后退按钮单击时再次显示登录页面
- php - 将身份验证扩展到使用不同 php 框架的子文件夹
- android - 安全的 sqlite 数据库:Android