Question

In: Statistics and Probability

Please use R GPA ACT ITS RP    3.897 21 122 99 3.885 14 132 71...

Please use R

GPA ACT ITS RP   
3.897 21 122 99
3.885 14 132 71
3.778 28 119 95
2.540 22 99 75
3.028 21 131 46
3.865 31 139 77
2.962 32 113 85
3.961 27 136 99
0.500 29 75 13
3.178 26 106 97
3.310 24 125 69
3.538 30 142 99
3.083 24 120 97
3.013 24 107 55
3.245 33 125 93
2.963 27 121 80
3.522 25 119 63
3.013 31 128 78
2.947 25 106 93
2.118 20 123 22
2.563 24 111 84
3.357 21 113 87
3.731 28 134 98
3.925 27 128 95
3.556 28 126 63
3.101 26 121 79
2.420 28 104 86
2.579 22 113 90
3.871 26 133 97
3.060 21 125 39
3.927 25 128 97
2.375 16 112 57
2.929 28 107 67
3.375 26 115 81
2.857 22 119 75
3.072 24 113 63
3.381 21 115 15
3.290 30 110 95
3.549 27 122 93
3.646 26 118 99
2.978 26 114 90
2.654 30 112 99
2.540 24 106 85
2.250 26 95 84
2.069 29 102 58
2.617 24 114 86
2.183 31 116 82
2.000 15 93 34
2.952 19 120 34
3.806 18 117 23
2.871 27 119 95
3.352 16 115 41
3.305 27 113 28
2.952 26 108 68
3.547 24 116 54
3.691 30 135 77
3.160 21 108 58
2.194 20 110 73
3.323 30 124 94
3.936 29 130 98
2.922 25 118 99
2.716 23 110 91
3.370 25 117 95
3.606 23 123 72
2.642 30 116 65
2.452 21 109 53
2.655 24 110 81
3.714 32 126 41
1.806 18 99 84
3.516 23 121 84
3.039 20 115 35
2.966 23 127 70
2.482 18 99 15
2.700 18 108 47
3.920 29 129 98
2.834 20 103 77
3.222 23 122 72
3.084 26 118 29
4.000 28 135 80
3.511 34 139 88
3.323 20 128 80
3.072 20 120 46
2.079 26 114 89
3.875 32 133 91
3.208 25 123 95
2.920 27 111 83
3.345 27 122 92
3.956 29 136 99
3.808 19 140 41
2.506 21 109 68
3.886 24 133 98
2.183 27 98 59
3.429 25 134 89
3.024 18 124 89
3.750 29 128 92
3.833 24 149 97
3.113 27 121 43
2.875 21 117 52
2.747 19 110 82
2.311 18 104 61
1.841 25 95 72
1.583 18 96 33
2.879 20 117 97
3.591 32 130 97
2.914 24 121 92
3.716 35 125 99
2.800 25 112 61
3.621 28 136 72
3.792 28 129 99
2.867 25 106 76
3.419 22 108 66
3.600 30 138 70
2.394 20 106 44
2.286 20 111 33
1.486 31 101 77
3.885 20 113 57
3.800 29 131 96
3.914 28 140 97
1.860 16 111 65
2.948 28 110 85

The director of admissions of a small college selected 120 students at random from the new freshman class in a study to determine whether a student’s grade point average (GPA) at the end of the freshman year (y) can be predicted from the ACT test score (x1). The results of the study can be found in the hmw6 prob1.txt file. (Note: The hmw6 prob1.txt file also includes data on other variables that will be used in later parts. For parts (a)-(c) use only GPA and ACT.)

(a) Fit a simple linear regression model relating y with x1.

(b) Plot the residuals ei against the fitted values ˆyi . What departures from the regression model assumptions can be studied from this plot? What are your findings? (Note: If you are not sure about the validity of any of the assumptions, perform a formal test to verify your answer.) (

c) Prepare a normal probability plot (QQ plot) of the residuals. What assumption can be tested from this plot and what do you conclude? (Note: You can also use the formal test to reinforce your conclusion).

(d) Information is given for each student on two variables not included in the model, namely, intelligence test score (ITS-x2) and high school class rank percentile (RP-x3). Plot the residuals you obtained in part (b) against x2 and x3 on separate graphs to ascertain whether the model can be improved by including either of these variables. What do you conclude? (Hint: The residuals represent any variability that was not able to be explained by x1. Therefore, if you see any pattern between the residuals and any other predictor omitted from the model, there is an indication that the predictor will be useful to be added in the model.)

Hint: To read the data in R, save the txt file in the same working director as the one used by R. Then, use the command data=read.table(‘hmw6_prob1.txt’, header=T) y=data$GPA x1=data$ACT x2=data$ITS x3=data$RP

Solutions

Expert Solution




Related Solutions

Need use R, and please tell me how to code. Conc,Thick 452,.14 139,.21 166,.23 175,.24 260,.26...
Need use R, and please tell me how to code. Conc,Thick 452,.14 139,.21 166,.23 175,.24 260,.26 204,.28 138,.29 316,.29 396,.3 46,.31 218,.34 173,.36 220,.37 147,.39 216,.42 216,.46 206,.49 184,.19 177,.22 246,.23 296,.25 188,.26 89,.28 198,.29 122,.3 250,.3 256,.31 261,.34 132,.36 212,.37 171,.4 164,.42 199,.46 115,.2 214,.22 177,.23 205,.25 208,.26 320,.28 191,.29 305,.3 230,.3 204,.32 143,.35 175,.36 119,.39 216,.41 185,.42 236,.47 315,.2 356,.22 289,.23 324,.26 109,.27 265,.29 193,.29 203,.3 214,.3 150,.34 229,.35 236,.37 144,.39 232,.41 87,.44 237,.49 1.Investigate the relationship between...
Student ID Student ACT Score (Independent Variable) Student            GPA     (Dependent Variable) 1 24 3.25 2 21...
Student ID Student ACT Score (Independent Variable) Student            GPA     (Dependent Variable) 1 24 3.25 2 21 2.87 3 18 2.66 4 22 3.33 5 22 2.87 6 22 3.21 7 18 2.76 8 28 3.91 9 29 3.55 10 18 2.55 11 20 2.44 12 24 3.22 13 25 3.22 14 24 3.44 15 21 3.01 Instructions: Generate on a separate worksheet a standard set of SUMMARY OUTPUT for two-variable regression, and label the worksheet "Simple Regression Output". Then, using...
Student ID Student ACT Score  (Independent Variable) Student            GPA     (Dependent Variable) 1 24 3.25 2 21 2.87
Student ID Student ACT Score  (Independent Variable) Student            GPA     (Dependent Variable) 1 24 3.25 2 21 2.87 3 18 2.66 4 22 3.33 5 22 2.87 6 22 3.21 7 18 2.76 8 28 3.91 9 29 3.55 10 18 2.55 11 20 2.44 12 24 3.22 13 25 3.22 14 24 3.44 15 21 3.01 Instructions:  Generate  on a separate worksheet a standard set of SUMMARY OUTPUT for two-variable regression, and label the worksheet "Simple Regression Output".  Then, using the information in this output 1)...
USE R AND SHOW CODES!! 3.a. In 1988, 71% of 15-44 year old women who have...
USE R AND SHOW CODES!! 3.a. In 1988, 71% of 15-44 year old women who have ever been married have used some form of contraception. What is the probability that, in a sample of 200 women in these childbearing years, fewer than 120 of them have used some form of contraception? 3.b. About 1 percent of women have breast cancer. A cancer screening method can detect 80 percent of genuine cancers with a false alarm rate of 10 percent. What...
Please use RStudio to answer the question and give the R command: please load data use...
Please use RStudio to answer the question and give the R command: please load data use data: library(MASS) data(cats) Use the “cats” data set to test for the variance of the body weight in male and female cats
Please use R and R studio A sample of 15 female collegiate golfers was selected and...
Please use R and R studio A sample of 15 female collegiate golfers was selected and the clubhead velocity (km/hr) while swinging a driver was determined for each one, resulting in the following data (“Hip Rotational Velocities During the Full Golf Swing,” J.of Sports Science and Medicine, 2009: 296–299): 69.0 69.7 72.7 80.3 81.0 85.0 86.0 86.3 86.7 87.7 89.3 90.7 91.0 92.5 93.0 The corresponding z percentiles are -1.83 -1.28 -0.97 -0.73 -0.52 -0.34 -0.17 0.0 0.17 0.34 0.52...
Please use R or Rstudio for this exercise and show everything, including the R output. Pay...
Please use R or Rstudio for this exercise and show everything, including the R output. Pay attention in everything in Bold, please. " The quality of Pinot Noir wine is thought to be related to the properties of clarity, aroma, body, flavor, and oakiness. Data for 38 wines are given in stat5_prob1. (a) Fit a multiple linear regression model relating wine quality to these regressors. (b) Construct the ANOVA table. (c) Test for the significance of the regression in a...
Please use R and R studio The accompanying observations are precipitation values during March over a...
Please use R and R studio The accompanying observations are precipitation values during March over a 30-year period in Minneapolis-St. Paul. .77 1.20 3.00 1.62 2.81 2.48 1.74 .47 3.09 1.31 1.87 .96 .81 1.43 1.51 .32 1.18 1.89 1.20 3.37 2.10 .59 1.35 .90 1.95 2.20 .52 .81 4.75 2.05 a. Construct and interpret a normal probability plot for this data set. b. Calculate the square root of each value and then construct a normal probability plot based on...
QUESTION 14 Please use the following question to answer questions 14-20: On January 1, 2010, P...
QUESTION 14 Please use the following question to answer questions 14-20: On January 1, 2010, P Company purchased an 80% interest in S Company for $900,000. At that time, S Company had capital stock of $600,000 and retained earnings of $100,000. Differences between the fair value and the book value of the identifiable assets of Salem Company were as follows: Fair Value in Excess of Book Value Equipment $       180,000 Land             20,000 Inventory             20,000 The book values of all other assets...
Please use R program and explain clealry please. thank you. 1. In NZ supermarkets, the average...
Please use R program and explain clealry please. thank you. 1. In NZ supermarkets, the average weight of a banana is 120 grams. An agricultural scientist buys bananas from a supermarket. Their weight, in grams, is as follows: c(103.2, 95.2, 89.6, 98.5, 112.8, 111) She suspects that this sample of bananas is lighter than average and wonders if this supermarket is selling bananas that are lighter than the NZ average. (a) State a sensible null hypothesis (b) State the precise...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT