楼主: frederick2012
6637 3

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

  • 7关注
  • 32粉丝

教授

85%

还不是VIP/贵宾

-

威望
0
论坛币
104220 个
通用积分
137.5749
学术水平
78 点
热心指数
91 点
信用等级
62 点
经验
20847 点
帖子
474
精华
1
在线时间
2542 小时
注册时间
2013-8-26
最后登录
2024-4-30

+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
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-5-17 22:14