其他分享
首页 > 其他分享> > STAT 462

STAT 462

作者:互联网


Homework 3
STAT 462: Summer 2019

Note: This homework focuses on types of explanatory variables. It is worth 30 points. You are free to discuss answers with your classmates. However, your submission must be written independently and reflect you own understanding of the topics.
This homework is due before class starts on Wednesday, July 31st. You will not need to use R for this homework. We will keep this one quite short!
Part A:

We are going to re-visit the used Cars dataset. It contains the variables below.

Price Price of the car
Miles # miles driven
Make Make of the car; 6 possible compnies
Model Model of the car
Trim Trim of car
Type Type of car: Convertible, Coupe, Hatchback, Sedan, Wagon
Cylinder # cylinders: 4, 6, or 8
Liter Fuel capacity in liters
Doors # of doors on the car: 2 or 4
Cruise Whether the car has cruise control or not
Sound Whether there is a sound system or not
Leather Whether the car has leather fixings or not

We performed multiple linear regression analysis on price (Y) and Miles, Type, Cylinders (as a quantitative variable), Liter, Cruise, Sound, and Leather; where we are considering an interaction between the Miles and Cruise variables. Below is the R output:

代做STAT 462作业、代写R语言作业、代做R编程设计作业、代写Cars dataset课程作业

1)(2 pts) Based on this output, can we find the sample size (n)? How many observations are in the sample data? How did you calculate it?
2)(3 pts) Write down the population regression equation.
3)(3 pts) Write down the estimated sample regression equation.
4)(6 pts) Write down the indicator variables describing the Cylinder variable. First consider how many indicators there will be. Then, write them down fully.
5)Interpret the below coefficients:
a.(2 pts) Miles
b.(2 pts) Cruise
c.(2 pts) Miles:Cruise

The question below is separate from the ones above; it does not pertain to the R output presented above.

(10 points) Suppose that we were fitting a simple model. The response variable is Price and the explanatory variables are Miles, Cruise, an interaction between them. Write down the design matrix for this regression, without the actual numbers. Remember, you don’t need to have 804 rows in your matrix. Just write the first 3.

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

微信:codehelp

标签:Write,STAT,car,variables,462,down,Miles,pts
来源: https://www.cnblogs.com/goodjava/p/11284875.html