MET CS 555 Assignment 3
Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit
MET CS 555 Assignment 3 – 20 points
SUBMISSION REQUIREMENTS: Please submit a single document (word or PDF) for submission. Your submission should contain a summary of your results (and answers to questions asked on the homework) as well as your R code used to generate your results (please append to the end of your submission). Please use R for the calculations whenever possible. You will lose points if you are not utilizing R. You will also lose 10 points per day for late submissions unless prior arrangements are made with your facilitator.
The data in this document gives the number of meals eaten that contain fish (per week) and mercury levels in head hair for 100 fisherman. Save the data to a format that can be read into R. Read the data in for analysis. Use R to calculate the quantities and generate the visual summaries requested below.
(1) To get a sense of the data, generate a scatterplot (using an appropriate window, label the axes, and title the graph). Consciously decide which variable should be on the -axis and which should be on the y-axis. Using the scatterplot, describe the form, direction, and strength of the association between the variables. (3 points )
(2) Calculate the correlation coefficient. What does the correlation tell us? (2 points)
(3) Find the equation of the least squares regression equation, and write out the equation. Add the regression line to the scatterplot you generated above. (2 points )
(4) What is the estimate for ? How can we interpret this value? What is the estimate for ? What is the interpretation of this value? (6 points)
(5) Calculate the ANOVA table and the table which gives the standard error of . Formally test the hypothesis that = 0 using either the -test or the -test at the = 0.10 level. Either way, present your results using the 5 step procedure as in the course notes.
Within your conclusion, calculate the -squared value and interpret this. Also, calculate and interpret the 90% confidence interval for . (8 points )
Data set for Assignment 3
Number of meals with fish |
Total Mercury in mg/g |
14 |
4.484 |
7 |
4.789 |
5 |
3.856 |
8 |
4.888 |
21 |
10.849 |
18 |
6.457 |
22 |
11.222 |
6 |
4.908 |
19 |
10.116 |
7 |
3.567 |
16 |
6.092 |
17 |
3.799 |
20 |
6.781 |
5 |
5.995 |
7 |
1.717 |
14 |
4.615 |
1 |
3.362 |
6 |
3.928 |
9 |
1.833 |
10 |
5.668 |
13 |
4.7 |
9 |
2.272 |
16 |
4.812 |
5 |
1.342 |
18 |
6.123 |
7 |
4.622 |
8 |
7.805 |
7 |
2.643 |
8 |
6.111 |
7 |
2.476 |
10 |
4.317 |
4 |
1.789 |
4 |
2.484 |
7 |
1.757 |
6 |
1.239 |
5 |
5.311 |
19 |
6.103 |
3 |
1.984 |
4 |
2.697 |
7 |
0.692 |
7 |
2.404 |
9 |
1.503 |
17 |
8.231 |
14 |
5.321 |
7 |
3.81 |
21 |
1.765 |
4 |
0.408 |
7 |
3.901 |
10 |
0.48 |
11 |
3.826 |
7 |
3.451 |
9 |
2.32 |
2 |
4.086 |
7 |
2.272 |
3 |
2.564 |
7 |
7.998 |
11 |
5.081 |
8 |
0.366 |
7 |
2.477 |
4 |
5.288 |
7 |
5.676 |
7 |
2.296 |
21 |
6.11 |
4 |
1.502 |
|
2022-10-17