楼主: 浅夏荒冬lxy
841 2

[其他] 求助 STATA 具体操作和作业 [推广有奖]

  • 0关注
  • 0粉丝

已卖:1份资源

初中生

19%

还不是VIP/贵宾

-

威望
0
论坛币
496 个
通用积分
0.4213
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
1009 点
帖子
14
精华
0
在线时间
11 小时
注册时间
2015-3-23
最后登录
2015-7-20

楼主
浅夏荒冬lxy 发表于 2015-7-20 11:49:13 |AI写论文
20论坛币

Assume a number of observations of 2000 for all the following and set the random seed as the last four digit of your student id.

1. Generate two variables of uniform distribution Unif(0,10), x1 and x2

2. Generate an error term u of normal distribution N(0,1)

3. Generate ystar=b0 + b1*x1 + b2*x2 + u

4. Generate a binary variable y that is one if ystar > Median value of ystar, and 0 otherwise

5. Perform a linear regression of ystar on x1 x2

6. Use probit to estimate the marginal effect of x1 on y

7. Use logit to estimate the marginal effect of x2 on y

8. Use linear probability model to estimate the marginal effect of x1

9. Compare the results from 6,7,8

10. Generate a categorical variable y1 that is 4 if ystar is in the top quartile, 3 if ystar is in the second quartile, 2 if ystar is in the third quartile, and 1 if ystar is in the lowest quartile.

11. Use a multinomial logit to regress y1 on x1 and x2

12. Use an ordered logit to regress y1 on x1 and x2

Essay Questions

1. Describe how you perform an instrumental variable estimation and what tests may be used

2. Describe models that can be used for program evaluation and their pros and cons


可用中文作答,STATA部分可截图,学号后四位是1429


最佳答案

wingguy 查看完整内容

楼主,我已经写好了,请务必要把悬赏给我啊,谢谢啦
关键词:Stata tata distribution observations instrumental 英文作业

沙发
wingguy 学生认证  发表于 2015-7-20 11:49:14
楼主,我已经写好了,请务必要把悬赏给我啊,谢谢啦[tongue]


附件: 你需要登录才可以下载或查看附件。没有帐号?我要注册
已有 1 人评分论坛币 收起 理由
giresse + 50 精彩帖子

总评分: 论坛币 + 50   查看全部评分

gg

藤椅
wingguy 学生认证  发表于 2015-7-20 17:09:05
兄弟,我可以帮你写code,但是第三题的b1,b2,b0分别具体是什么数字

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

本版微信群
jg-xs1
拉您进交流群
GMT+8, 2026-1-7 07:20