Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Show your work and clearly explain each step (and your answer). You may only use

ID: 3050168 • Letter: S

Question

Show your work and clearly explain each step (and your answer).

You may only use a pen, paper, and simple calculator.

4. QUESTION 4 20 pts The number of calories and number of grams of sugar per serving were measured for 36 breakfast cereals. Consider the following linear regression output ## Call: ## lm(formula = Calories " Sugar) ## Residuals: ##-37.428-9.832 0.245 8.909 40.322 ## Coefficients Min 1Q Median 3Q Max ##(Intercept) 87.4277 ## Sugar Estimate Std. Error t value Pr(>Itl 5.1627 16.935

Explanation / Answer

SolutionA:

From Regression output:

calories=87.4277+2.4808(sugar)

Given x=10 grams of sugar

substitute in regression eq

calories=87.4277+2.4808(10)

= 112.2357

Solutionb:

Residual=actual value-predicted value

actual value=110 calores

predicted value can be calculated from

calories=87.4277+2.4808(grams)

=87.4277+2.4808(1)

= 89.9085

Residual=actual -predicted value

=110 -89.9085

=20.0915

Solutionc:

size of typical error is 19.27

Solutiond:

Source df Sum Sq Mean Sq F value p-value model 1 12.3 0.001296 residuals 34 total 35
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote