x=c(165,167,180,165,212,175,190,212,200,149,158,169)
y=c(130,133,150,128,151,146,150,140,148,125,133,135)
#(a):
#Part 1: Scatter diagram
plot(x,y)
#Comment: From the scatter diagram we can conclude that there is
linear trend is
#present and there is positive correlation between them.
#part 2: Estimation of the Regression equation
lm(y~x)
#Hence the regression eqn is: y=76.43289+0.35098 x
#(b) For weight 195 we have to estimate Systolic Bp .
y=76.43289+0.35098*195
#hence the estimated systolic Bp is 144.874
#(c)
#Part 1:95% Confidence interval for B1
summary(lm(y~x))
#here estimate of B1 is b1=0.35098
#standard error of B1 0.09423
qt(0.975,10)
#Critical value is upper 97.5% point of t distribution with
(n-2)=10 df,2.228139
#hence upper confidence limit b1(estimated B1)+standard
error*critical value=0.5609375
#hence lower confidence limit b1(estimated B1)-standard
error*critical value=0.1410225
Please show all parts. This problem is to be solved by hand. The weight and systolic...
This problem is to be solved by hand. The weight and systolic blood pressure of 12 randomly selected males in the age group 25-30 are shown in the table below. Subject 1 2 3 4 5 6 7 8 9 10 11 12 Weight (lbs), x 165 167 180 165 212 175 190 212 200 149 158 169 Systolic BP, y 130 133 150 128 151 146 150 140 148 125 133 135 (a) Plot the points on a scatter...
Rstudio programming
(R programming) The weight and systolic blood pressure of 26 randomly selected males in the age group 25-30 are found in the attached CSV file. Fit a simple linear regression model relating systolic blood pressure (y) to weight (2). (30 points) (a) Provide the R code which fits the model and outputs the summary of the fitting. (b) Report the model fitting summary (c) Write down the fitted linear model and its interpretation. (d) Write down the null...
Body weight
Bench press
148
145
176
148
154
133
189
156
181
166
217
174
210
168
150
139
137
109
151
119
172
138
219
167
142
131
143
119
164
151
136
124
147
149
129
134
219
162
169
140
180
149
187
156
198
149
156
131
220
149
154
138
212
147
122
122
163
133
136
136
An exercise science major wants to try to use body weight to predict how much someone...
(Use Excel) italy common for people to put on weight when they quit smoking While a small weight gain is normal c e weight gain can create new health concerns that brode the benefits of not smoking. The accompanying table shows a portion of the weight data for 50 women before quitting and six months after quitting Use Table 2 Weight Before Quilling 140 144 138 Weight After Quilling 155 142 163 146 129 149 136 127 158 145 118...
Maintaining a healthy weight is important for women’s health. Some physicians recommend being back to your pre-pregnancy weight six months after giving birth. Public health officials are interested in whether this is a realistic goal. Do the women in North Carolina weigh more than their pre-pregnancy weight six months postpartum? In other words, is the six months post-pregnancy weight greater than their pre-pregnancy weight? Use a paired samples t-test to compare pst6wght (variable 1) and prewght (variable 2). This uses...
please show all the work. if you use excel please show the
screenshots. Thank you !
Question 4 (25pts) A hospital would like to develop a regression model to predict the total hospital bill for a patient based on the age of the patient (x1), his or her length of stay (x2), and the number of days in the hospital's intensive care unit(ICU) (x3). Data for these variables can be found in Q4data.xlsx. Complete parts a through e below. a)...
In the process of collecting weight and height data from 29 female and 81 male students at your university, you also asked the students for the number of siblings they have. Although it was not quite clear to you initially what you would use that variable for, you construct a new theory that suggests that children who have more siblings come from poorer families and will have to share the food on the table. Although a friend tells you that...
please show all work
Question 9 (13 points) In a test of weight loss programs, 40 adults used the Atkins weight loss program. After 12 months, their mean weight loss was found to be 2.1 lb, with a standard deviation of 4.8 lb. Answer the questions to construct and interpret a 90% confidence interval for the true mean weight loss for all adults who used the Atkins weight loss program. a. (1 pt.) What parameter are you estimating? (p or...
PLEASE JUST PARTS F) AND
G)
Suppose that a researcher, using data on class size (CS) and average test scores from 100 third-grade classes, estimates the OLS regression: 1. Test-Score = 520.4-5.82 × CS (20.4) (2.21) A classroom has 22 students. What is the regression's prediction for that classroom's average test score? Last year a classroom had 19 students, and this year it has 23 students. What is the regression's prediction for the change in average test score? The sample...
PLEASE SHOW ALL EXCEL FORMULAS USED FOR EACH CALCULATIONS. A
STEP BY STEP WALKTHROUGH OF HOW TO DO THE PROBLEM. Thank you so
much for your help!
Hours Feet Elevator Elevator
code
24.00 545 Yes 1
13.50 400 Yes 1
26.25 562 No 0
25.00 540 No 0
9.00 220 Yes 1
20.00 344 Yes 1
22.00 569 Yes 1
11.25 340 Yes 1
50.00 900 Yes 1
12.00 285 Yes 1
38.75 865 Yes 1
40.00 831 Yes 1...