全部版块 我的主页
论坛 提问 悬赏 求职 新闻 读书 功能一区 悬赏大厅 求助成功区
796 2
2015-07-20
悬赏 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 查看完整内容

楼主,我已经写好了,请务必要把悬赏给我啊,谢谢啦
二维码

扫码加我 拉你入群

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

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

全部回复
2015-7-20 11:49:14
楼主,我已经写好了,请务必要把悬赏给我啊,谢谢啦[tongue]


附件: 您需要登录才可以下载或查看附件。没有帐号?我要注册
二维码

扫码加我 拉你入群

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

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

2015-7-20 17:09:05
兄弟,我可以帮你写code,但是第三题的b1,b2,b0分别具体是什么数字
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群