Question

In: Statistics and Probability

The data file TreeAgeDiamSugarMaple.txt is given below: Diamet Age 2.86 1.61 4.29 3.23 8.57 6.45 14.29...

The data file TreeAgeDiamSugarMaple.txt is given below:

Diamet Age
2.86 1.61
4.29 3.23
8.57 6.45
14.29 8.06
15.71 14.52
17.14 22.58
20.00 24.19
54.29 37.10
60.00 40.32
88.57 32.26
100.00 46.77
102.86 51.61
105.71 58.07
108.57 37.10
114.29 37.90
177.14 78.23
178.57 100.81
252.86 76.61
254.29 90.32
311.43 134.68
397.14 96.77
491.43 151.61
560.00 163.71
531.43 140.32
532.86 112.10
545.71 109.68
541.43 123.39

a.) Determine a good polynomial regression model for this data using the AIC and/or BIC criteria. (Fit all polynomial regression models up to a maximum degree of 8 and then choose the best one.)

b.) For the second degree polynomial model, test the null hypothesis that the coefficient of x^2 is 0. Use a level of significance: α = 0.05. Report the p-value as well (note that this doesn't involve α).

c.) Produce a plot of the residuals versus the predicted values for the model chosen in part (a) above. Is there anything remarkable about the plot?

d.) Using the model in part (a), predict the age of a tree with a diameter of 110 by using an interval in which you have 95% confidence (i.e. obtain a 95% prediction interval for Y at x = 110.)

Solutions

Expert Solution

Answer(a):

degree of polynomial b0 b1 b2 b3 b4 b5 b6 b7 b8 AIC
linear -46.5429 3.8045 315.88
quadratic -34.8373 3.280646 0.003414 317.65
cubic 14.20339 -0.93858 0.072253 -0.00029 315.76
4th degree 7.82E+00 7.29E-02 4.10E-02 2.49E-05 -9.86E-07 317.69
5th degree -3.53E+01 9.99E+00 -4.08E-01 7.44E-03 -5.19E-05 1.24E-07 317.75
6th degree 2.39E+01 -7.60E+00 7.06E-01 -2.05E-02 2.73E-04 -1.64E-06 3.60E-09 316.74
7th degree 3.45E+01 -1.16E+01 1.05E+00 -3.25E-02 4.80E-04 -3.49E-06 1.19E-08 -1.45E-11 318.66
8th degree -2.51E+01 1.51E+01 -1.89E+00 1.03E-01 -2.67E-03 3.71E-05 -2.80E-07 1.09E-09 -1.69E-12 318.76

we fitted polynomial models up to max of 8th degree and 3rd degree polynomial (cubic) was found to best on the basis of lowest AIC value.


Related Solutions

Use the data given below to answer the following question(s). The following table exhibits the age...
Use the data given below to answer the following question(s). The following table exhibits the age of second-hand furniture and the corresponding prices. Use the table to answer the following question(s). (Hint: Use scatter diagram and XLMiner where necessary.) Number of Years Values 2 1856 14 348 7 1020 5 1530 10 349 8 780 9 653 3 1830 10 750 6 1300 Q1. What is the relationship between the age of the furniture and their values? _ _________________ Q2....
First create the text file given below. Then complete the main that is given. There are...
First create the text file given below. Then complete the main that is given. There are comments to help you. An output is also given Create this text file: data1.txt -59 -33 34 0 69 24 -22 58 62 -36 5 45 -19 -73 62 -5 95 42 ` Create a project and a Main class and copy the Main class and method given below. First declare the array below the comments that tell you to declare it. Then there...
The age distribution of students at a community college is given below. Age (years) Number of...
The age distribution of students at a community college is given below. Age (years) Number of Students (f) Under 21 416 21-25 420 26-30 219 31-35 51 Over 35 24 Total = 1130 Number of students (f) 416 420 219 51 24 1130 A student from the community college is selected at random. Find the conditional probability that the student is at most 35 given that he or she is at least 26.
Given the information in the table, what is TODAY’s price of the stock? Today’s Dividend $3.23...
Given the information in the table, what is TODAY’s price of the stock? Today’s Dividend $3.23 Discount Rate 2.00% Growth rate in dividends 0 to 1 7.00% Growth rate in dividends 1to 2 3.00% Growth rate in dividends 2 to 3 4.00% Growth rate in dividends 3 onward 5.00%
Your acid has a pka of 6.45 and a concentration of 0.079M. You are given 40.8mL...
Your acid has a pka of 6.45 and a concentration of 0.079M. You are given 40.8mL of this acid, what is the pH of this initial solution? Calculate the pH of the solution after adding 6.8, 15.3, 27.9, and 33.7 mL of 0.100M NaOH. At the equivalence point, what volume of base is added and what is the pH?
Please prepare a workbook file using the information given below. The file should have three worksheets....
Please prepare a workbook file using the information given below. The file should have three worksheets. The first worksheet must contain only the inputs to the problem. These facts will be referenced by the second and third worksheets that contain the transformation of the inputs into the solutions to the problem. The second worksheet must contain: a) unit product cost under absorption costing for May; b) unit product cost under absorption costing for June; c) an income statement in good...
The accompanying data file contains 20 observations for t and yt. The data are plotted below....
The accompanying data file contains 20 observations for t and yt. The data are plotted below. t 1 2 3 4 5 6 7 8 9 10 yt 10.8 14.1 10.3 10.9 11.3 13.5 10.7 9.2 8.8 12 t 11 12 13 14 15 16 17 18 19 20 yt 9.8 11 15.1 12.5 12.9 12.3 9 14.9 10.1 11.9 b-1. Use the exponential smoothing method to make forecasts with α = 0.2. (Round intermediate calculations to at least 4...
Given some data in a text file, the task is to scramble the text and output...
Given some data in a text file, the task is to scramble the text and output in a separate text file. So, we need to write a Python program that reads a text file, scrambles the words in the file and writes the output to a new text file. Rules to be followed: Words less than or equal to 3 characters need not be scrambled. Don’t scramble first and last char, so Scrambling can become Srbmnacilg or Srbmnailcg or Snmbracilg,...
Below are data for the number of students in each of four age groups that are...
Below are data for the number of students in each of four age groups that are enrolled in several local schools: Age Group Franklin School Lowell Public School JeanneD’arc School International School Toddlers (1 – 4 yrs.) Pre-adolescents (5 - 8 yrs.) Adolescents (9 - 12 yrs.) Teens (13 - 18 yrs.) 0 56 131 0 36 52 51 64 0 24 98 111 34 41 52 69 Using the included data file and SPSS, create a separate Pie Chart...
Given the data below, what is the estimated bias given a reference value of 24.521? Data...
Given the data below, what is the estimated bias given a reference value of 24.521? Data 24.9872 24.2675 25.2027 24.6919 24.9361 25.5176 24.8503 24.1735 24.8481 24.898 24.8747 24.6096 24.6116 24.9186 25 24.519 25.7207 24.9817 25.2276 24.919
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT