楼主: 铃兰君影
809 1

[其他] STATA问题,怎么都没有 [推广有奖]

  • 0关注
  • 0粉丝

本科生

20%

还不是VIP/贵宾

-

威望
0
论坛币
2711 个
通用积分
0.0013
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
615 点
帖子
48
精华
0
在线时间
52 小时
注册时间
2013-3-17
最后登录
2017-8-26

500论坛币
Thepanel data set File3.dta (MathsScore) contains the following data:

District:        educational district
Year:                        year
Math4:        % of 4th year students with satisfactory grades in maths
Math7:        % of 7th year students with satisfactory grades in maths
Expp:                        Expenditure per pupil
CPI:                        Price index
Enrol:        Number of students enrolled
Lunch:        % of pupils receiving free school meals
Drop:                        High school drop-out rate %
这些是已知数据的描写

附件就是下面这个了,不过因为论坛不允许dta文件,所以请下载后改成.dta
希望能获得正确算出此结果的详细指令,从头到尾

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

最佳答案

夸克之一 查看完整内容

gen lrealexpp=log(expp/ cpi) gen lenrol=log(enrol) reg math4 lrealexpp lenrol lunch drop reg math7 lrealexpp lenrol lunch drop
关键词:STATA问题 Stata tata educational expenditure following receiving school
沙发
夸克之一 发表于 2013-8-18 18:48:49 |只看作者 |坛友微信交流群
gen lrealexpp=log(expp/ cpi)

gen lenrol=log(enrol)

reg  math4  lrealexpp lenrol  lunch drop

reg  math7  lrealexpp lenrol  lunch drop





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

使用道具

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

本版微信群
加JingGuanBbs
拉您进交流群

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

GMT+8, 2024-5-22 08:19