This is the data you need for the first problem. First, we have these observations. This is the xvec we used to call. 119.4 122.7 140.6 125.7 126.3 142.2 129.6 112.3 118.1 120.5 137.2 128.6 129.0 126.1 119.4 142.9 130.0 105.3 132.0 120.3 114.3 122.8 114.7 117.7 118.7 108.1 133.4 126.5 113.6 137.5 129.3 122.0 134.0 133.8 133.2 131.9 130.5 124.4 121.9 121.2 118.1 122.9 112.3 146.7 137.1 113.8 121.0 120.3 132.8 124.2 127.5 124.7 124.6 138.7 122.7 You can copy and paste the data into R as the following Inside R do this: > myxvec <- scan( ) ### hit return here 1: ### paste your numbers here Finally one more return will finish the scan. And now the data is in a vector called myxvec. This is the data for the second problem: 1.487 5.520 0.241 2.771 7.226 3.529 0.585 0.217 5.623 3.288 3.385 2.731 1.494 5.841 4.469 2.388 1.628 2.079 0.844 2.329 0.242 0.687 0.717 1.889 1.934