Math 318, Summer 2021, Garren

Required R Homework #5

due Thursday, June 10, 3 p.m.

(A) Using the data from problem #12.24 on p. 490, use R to do the following:

(1) Enter the data set, and label the variables as "x" and "y". (You will need to print this data set.)

(2) Construct the scatter plot, including the graph of the estimated regression line. Answer the question from part (a).

(3) Solve part (b). Clearly write the equation of the estimated regression line using R.

(4) Solve part (c). Highlight in PINK the relevant number from your R output.

(5) Solve part (d). Clearly write the equation of the estimated regression line using R.

-----------------------------------------------------------

(B) Use R to solve problem #12.38(a) on p. 499, according to the following:

(1) Enter the data set, and label the variables as "x" and "y". (You will need to print this data set.)

(2) Construct the scatter plot, including the graph of the estimated regression line.

(3) Clearly state the null and alternative hypotheses. Be sure to define any notation which you use.

(4) Compute the P-value using R for this hypothesis test in problem #12.38(a), and Highlight in YELLOW your P-value.

(5) State the conclusion of your hypothesis test in statistical terms and in regular English.

-----------------------------------------------------------

(C) Show your R-code and R-output. The order of your output should be approximately the same order in which the problems were assigned.

(D) Although you are allowed to receive help from others, list the names of those who helped you and the names of those whom you helped, as well as what type of help was given. If you did not give or receive help, then write, "No help." Submit your homework as a .pdf to Canvas.

Return to Dr. Garren's home page.