首页 > 其他 > 详细

Problem A

时间:2019-07-17 19:15:04      阅读:89      评论:0      收藏:0      [点我收藏+]


Problem A
Consider the modelling of house selling price. The data can be downloaded into R using:
read.table(url(“http://pages.uwf.edu/acohen/teaching/glm/house.txt”))
The data contains the following variables: price (in $1000), new (0=old, 1=new), size (sq ft),
beds (number of bedrooms), baths (number of bathrooms), and taxes (annual tax bill in $). We consider price as the response variable. The goal is to fit a linear model to explore the house selling
price variability.
Consider this model with interaction price~new+size+new:size, and the following steps in your modeling process:
Plot data: price vs. size while marking observations where new=1 and new=0.
Discuss linearity, normality and constant-variance.
Consider a transformation, if needed.
Compare the model with and without interactions.
Identify if any influential observations exist. If yes, remove at most 2 observations and redo

代做data课程设计作业、代写R程序设计作业
the modeling. Comment on the results.
Plot the regression lines and interpret the final model.
Now consider adding the number of beds to the model:
price~new+size+new:size+beds.
1. Before you fit this model, find the correlation (function corin R) between the price and beds.
Comment.
2. Fit the model and interpret the coefficient of beds.
3. Comment on the contradiction you observed.

 

因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:99515681@qq.com

微信:codehelp

Problem A

原文:https://www.cnblogs.com/mkka/p/11202943.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!