联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> javajava

日期:2019-04-07 10:23

STT 422 EXAM 1

Due Monday Apr 08, 11:59 pm, 25% of Final Grade = 80 points

There are total 8 questions.

Each question has subparts.

1

1 Problem 1

Consider the data set bank wage.csv. Using R or otherwise answer the following questions:

1. (2 points) Plot wages versus LOS and circle the outlier with the highest value of wage. (Drop

this observation for remaining parts.)

2. (1 point) Find the least squares regression line for the regression of wages on LOS.

3. (4 points) Give the significance test for the slope of LOS. (Clearly mention the hypothesis test,

test statistic, pvalue and conclusion).

4. (3 points) Give a 95% prediction interval at LOS=55.

2 Problem 2

Consider the data set student gpa.csv. Consider a regression model for predicting GPA using IQ,

gender and self-concept. Using R or otherwise answer the following questions:

1. (4 points) Give the F-statistic for testing

H0 : βIQ = βgender = βselfconcept = 0

Also provide the degrees of freedom for this F-statistic.

2. (4 point) Run correlation tests to check if GPA is correlated to

(a) IQ

(b) GENDER

3 Problem 3

Consider the data set biomarkers.csv. Consider a regression model for predicting VO+ using OC,

TRAP and VO-. Using R or otherwise answer the following questions:

1. (2 points) Give the statistical model for this including all assumptions.

2. (2 point) Give the multiple regression regression line to predict VO+ from OC, TRAP and

VO-.

3. (4 points) Make a table with t-statistics and pvalues for all the explanatory variables. Which

is the least significant variable among OC, TRAP and VO-.

4. (4 points) Consider the full model and the one without the least significant variable. Give the

anova table to compare these two models.

2

4 Problem 4

Do people from different cultures experience emotions differently? Here is a summary of the data:

Are the means same across different cultures?

1. (2 points) Should you use a pooled standard deviation? If yes, what is its value?

2. (4 points) Construct an ANOVA table for this problem.

3. (2 points) State the hypothesis test for this problem.

4. (2 points) Provide the p-value for hypothesis test in part 3.

5 Problem 5

Consider the data set price promotion.csv. Using R or otherwise answer the following questions.

1. (2 points) Construct a contrast which can compare the average of promotions 1 and 7 to the

average of promotions 3 and 5.

2. (3 points) Give a 95% confidence interval for the contrast in part 1.

3. (4 points) Use the Bonferroni or another multiple-comparisons procedure to compare different

price promotion groups.

6 Problem 6

Consider the data set intervene program.csv. Using R or otherwise answer the following questions.

1. (3 points) Plot the means. Do you think there is an interaction between Group and Time.

3

2. (2 points) Give an estimate for the main effect of group 1.

3. (4 points) Construct the two way anova model for this problem with group and time as the

factors.

4. (2 points) Can you accept the hypothesis that there is a main effect of time?

7 Problem 7

Consider the data set plants1.csv. Using R or otherwise answer the following questions.

1. (4 points) Find the means for each species-by-water combination. Plot these means versus

water for the four species, connecting the means for each species by lines.

2. (2 points) Give the interaction effect between species level 1 and water level 6.

3. (4 points) Give the two-way analysis of variance with species and water as factors.

8 Problem 8

A study of 170 franchise firms classified each firm as to whether it was successful or not. Attached is

the data.

1. (2 points) What proportion of exclusive territory firms are successful?

2. (2 points) Find the log odds for the answer in part 1.)

3. (6 points) Let x = 1 for exclusive territories and x = 0 for other territories. Using R or

otherwise.

(a) (3 points) The fitted logistic regression model.

(b) (3 points) Odds ratio for exclusive territory versus no exclusive territory.

4


版权所有:留学生程序网 2020 All Rights Reserved 联系方式:QQ:99515681 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。