全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
1948 2
2012-12-01
悬赏 30 个论坛币 未解决
smoker.txt
大小:(23.1 KB)

 马上下载



sat.txt
大小:(11.23 KB)

 马上下载



2道英文题目,求高手的英文解答!12月10号之前回答再送10论坛币!
第一题:

How are high school graduates performing when enrolled in college?

The dataset sat.txt reports first-year college grade point average (G.P.A.), math and

verbal SAT scores (taken before enrolling in college, during high school), the private status

of high school and gender for 745 students in one incoming class at Bates College.

The file contains observations on the following variables:

1. gpa : First-year college grade point average (G.P.A).

2. female : =1 if female; =0 if male

3. math : Math SAT score (taken during high school)

4. verbal : Verbal SAT score (taken during high school)

5. priv : =1 for individuals who attended private high school; =0 for others

(i) Regress gpa on an intercept term, female, math, verbal and priv. Report the coefficients and standard errors.

(ii) Which of the explanatory variables are significant at the 5% level? at the 1% level?

(iii) What is the effect of an increase in the math SAT score of 200 points?

(iv) Test at the 5% level the null hypothesis that the coefficients on math and verbal are

equal, against the alternative that they are not.

(v) Give a confidence interval for the coefficient on female at the 5% level. From this

confidence interval, test the null hypothesis that the coefficient associated with the variable

female is equal to 0.5, against the alternative that it is different from 0.5.


第二题:

Who smokes? The dataset smoker.txt contains a random sample of 1,196 U.S. males.

The variables in the file are:

1. EDUC : education

2. AGE : age

3. INCOME : family income

4. PCIGS79 : price of cigarettes in individual’s state in 1979

5. SMOKER : =1 for smokers; =0 for non-smokers

(i) Estimate a logit model in which the dependent variable is smoker and the explanatory

variables are education, age, income and the price of cigarettes (include an intercept term).

Report the coefficients.

(ii) Interpret the sign of the estimated coefficients.

(iii) Determine the estimated effect of one additional year of education on the probability

of smoking, for an individual with average values for the explanatory variables. Interpret

this value.

(iv) What is the predicted probability of smoking for a 30 years old individual with 12 years of education, whose family income is 20000 dollars and for which the price of cigarettes was 60?

(v) How does this probability vary if education is now 16?


二维码

扫码加我 拉你入群

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

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

全部回复
2012-12-2 18:42:37
R很差的飘过。。。

sas这个题我倒是刚做过。。。

lz你老师如果开始就教的R编程,这题真的很简单,你努力一下,估计两小时就做完了。。。
二维码

扫码加我 拉你入群

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

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

2012-12-9 10:53:30
教R那段时间正好有事情全部缺课了。现在完全一头雾水的。
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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