STAT 462

Posted goodjava

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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

以上是关于STAT 462的主要内容,如果未能解决你的问题,请参考以下文章

(STAT2008/STAT4038/STAT6014/STAT6038)

STAT2008/STAT4038/STAT6014/STAT6038

Python第二十二天 stat模块 os.chmod方法 os.stat方法

Linux stat函数和stat命令

struct stat *buf 这里的stat和*buf分别是啥?

stat命令的实现-mystat