全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
1484 2
2014-12-18
[size=13.63636302948px]求大神帮忙,十万火急。若能看懂请联系[size=13.63636302948px]aaronluo921@hotmail.com[size=13.63636302948px]或手机:15692402707.

[size=13.63636302948px]第一题:In 2004, the state of North Carolina released a large data set containing information on
[size=13.63636302948px]births recorded in this state. A random sample of observations from this data set is available
[size=13.63636302948px]at . We have observations on 13 di erent variables, some categorical and some numerical. The
[size=13.63636302948px]meaning of each variable is as follows:
[size=13.63636302948px] fage: fathers age in years.
[size=13.63636302948px] mage: mothers age in years.
[size=13.63636302948px] mature: maturity status of mother.
[size=13.63636302948px] weeks: length of pregnancy in weeks.
[size=13.63636302948px] premie: whether the birth was classi ed as premature (premie) or full-term.
[size=13.63636302948px] visits: number of hospital visits during pregnancy.
[size=13.63636302948px] marital: whether mother is married or not married at birth.
[size=13.63636302948px] gained: weight gained by mother during pregnancy in pounds.
[size=13.63636302948px] weight: weight of the baby at birth in pounds.
[size=13.63636302948px] lowbirthweight: whether baby was classi ed as low birthweight (low) or not (not low).
[size=13.63636302948px] gender: gender of the baby, female or male.
[size=13.63636302948px] habit: status of the mother as a nonsmoker or a smoker.
[size=13.63636302948px] whitemom: whether mom is white or not white.
[size=13.63636302948px]Pick a pair of numerical and categorical variables and come up with a research question
[size=13.63636302948px]evaluating the relationship between these variables. Formulate the question in a way that it
[size=13.63636302948px]can be answered using a hypothesis test and/or a con dence interval.

[size=13.63636302948px]第二题:The dataset contains the results of a study on gambling amongst
[size=13.63636302948px]teenagers in the UK.
[size=13.63636302948px](a) Estimate a linear regression model with gambled amount (gamble) as the response, and
[size=13.63636302948px]socioeconomic status, income (given in pounds per week), sex (with 0 being males) and
[size=13.63636302948px]verbal score as explanatory variables. Present the output from the estimation.
[size=13.63636302948px](b) Which variables are statistically signi cant at the 0:05 signi cance level?
[size=13.63636302948px](c) Using the same signi cance level, test the hypothesis that the e ect of income is equal to
[size=13.63636302948px]3.
[size=13.63636302948px](d) Construct a 90% con dence interval for the verbal score variable. What can you conclude
[size=13.63636302948px]about the relationship between the verbal score and gambling?
[size=13.63636302948px](e) Holding all other predictors constant, what would be the di erence in predicted expenditure
[size=13.63636302948px]on gambling for a male compared to a female?
[size=13.63636302948px](f) Using the predict() function, predict the amount that a male with average status, income
[size=13.63636302948px]and verbal score would gamble.
[size=13.63636302948px](g) What percentage of variation in the response is explained by the given predictors?
[size=13.63636302948px](h) Which observation has the largest positive residual?
[size=13.63636302948px](i) Plot a density of the residuals; describe the distribution in terms of skew.
[size=13.63636302948px](j) Compute the correlation of the residuals and the income variable. What did you expect to
[size=13.63636302948px] nd, and on which regression assumption did you base this expectation?

[size=13.63636302948px]还有两题!
二维码

扫码加我 拉你入群

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

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

全部回复
2014-12-18 17:42:39
我可以帮你做 但是 貌似客户端 看不清你发的题
二维码

扫码加我 拉你入群

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

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

2014-12-20 21:07:50
能做的是帮你顶
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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