Question: ASSIGNMENT in R (part 3 - SIMPLE and MULTIPLE REGRESSION) Problem 7. Simple linear regression (10 points) Student Mathematics Achievement Test Score Final calculus grade


ASSIGNMENT in R (part 3 - SIMPLE and MULTIPLE REGRESSION) Problem 7. Simple linear regression (10 points) Student Mathematics Achievement Test Score Final calculus grade 1 39 65 2 43 78 3 21 52 64 82 5 57 92 6 47 89 7 28 73 75 98 9 34 56 10 52 75 Use R to answer the following questions. a. Introduce the vectors testscore and examgrade. Introduce the object with the name gradeversusscore, and assign the output of Im(examgrade testscore) function to this object. Using the output of summary(gradeversusscore) function write the equation of estimated regression line and decide whether the data provide sufficient evidence to indicate that model contributes important information for the prediction of final exam grades? b. Construct the scatter plot for given data set. Include the line of best fit. c. Find a 95% confidence interval (use interval notation to report the answer) for the slope for the calculus grade data. Show the code (in blue) and output (in black) for parts a, b, and c. Insert the constructed plot using Plots> CopyClipboard in R studio
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
