楼主: frederick2012
7894 3

[作图问题求助] 对Margins marginsplot有些不太理解,烦请大牛指点。 [推广有奖]

  • 7关注
  • 32粉丝

已卖:4031份资源

教授

88%

还不是VIP/贵宾

-

威望
0
论坛币
105415 个
通用积分
175.5879
学术水平
78 点
热心指数
91 点
信用等级
62 点
经验
20850 点
帖子
475
精华
1
在线时间
2590 小时
注册时间
2013-8-26
最后登录
2025-12-28

楼主
frederick2012 发表于 2019-1-9 16:57:07 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
看了help文件,对margins不同用法对应求出的边际效应还是不太理解,有人能指点下以下几个加粗命令中求的分别是什么边际效应吗?我如果画调节作用图,究竟该如何使用margins?在此谢过

    Setup
        . webuse nhanes2

    Profile plot of margins
        . regress bpsystol agegrp##sex
        . margins agegrp
        . marginsplot

    Interaction plot
        . margins agegrp#sex
        . marginsplot

    Contrasts of margins -- effects (discrete marginal effects)
        . margins r.sex@agegrp
        . marginsplot

    Equivalently, using dydx()
        . margins agegrp, dydx(sex)
        . marginsplot

    Plots at specified values of continuous covariates
        . logistic highbp sex##agegrp##c.bmi
        . margins sex, at(bmi=(10(5)65))
        . marginsplot


二维码

扫码加我 拉你入群

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

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

关键词:Margins margin plot Mar interaction

沙发
frederick2012 发表于 2019-1-9 22:23:56
@黃河泉
黄老师能否解答一下呢

藤椅
Aidear 发表于 2021-9-16 17:19:28
请问margins得到的结果表格怎么输出到word或者xls呢?

板凳
甜甜的小菠萝 学生认证  发表于 2022-6-18 17:42:38

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-28 16:01