Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For the dataset (same as Coursework 1), use appropriate R functions, including lm, to provide the information requested in parts a) through i). a) What
For the dataset (same as Coursework 1), use appropriate R functions, including lm, to provide the information requested in parts a) through i). a) What is the confidence interval for 0? The confidence interval for 0 is 887.45 at 2.5% and 1038.57 at 97.5%. b) What is the confidence interval for 1? The confidence interval for 1 is -2.53 at 2.5% and 0.101 at 97.5%. c) What is the confidence interval for E(Y|x) = Y|x if x = 40? fit lwr upr 1 914.422 882.1888 946.6552 d) What is the prediction interval for Y if x = 40? fit lwr upr 1 914.422 722.7195 1106.124 e) Present an ANOVA output based on the linear model from R. Use a 10 point, fixed width font (preferably Consolas or Courier New). Please recognize that the p value from this analysis should match that of the corresponding hypothesis test in the Statistical Inferences Assignment. Df Sum Sq Mean Sq F value Pr(>F) x 1 30406 30405.7 3.4421 0.0697 . Residuals 48 424009 8833.5 f) Place here the coefficient of determination, R2, for the dataset. Recognize that in R, this is labeled Multiple R-squared. R2 = 0.06691 g) Determine and place here the correlation
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started