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.
In C++ First create the txt file given below. Then complete the main that is given....
In C++ First create the txt file given below. Then complete the main that is given. There are comments to help you. An output is also given You can assume that the file has numbers in it Create this text file: data1.txt -59 -33 34 0 69 24 -22 58 62 -36 5 45 -19 -73 62 -5 95 42 Main #include <iostream> #include <fstream> #include <string> #include <iomanip> using namespace std; const int MAXSIZE = 100; // Prototypes int...
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?
There is a lot of repeating data in the file example below in the form of...
There is a lot of repeating data in the file example below in the form of key names being in each and every record. This is a tradeoff to allow each record to have a different mix of (or even entirely different) keys. CSV files generally have one record (the first one in the file) which is simply a record of each headers (or "key") for each column and every record has the same fields and keys. My tsv2json utility...
(c++)You will be given a data file containing data for 10 students. The format is as...
(c++)You will be given a data file containing data for 10 students. The format is as follows - grades are double precision numbers: Line 1: Header Information Line 2: Student Full name Line 3: Student ID Line 4: testgrade_1 testgrade_2 testgrade_3 testgrade_4 testgrade_5 Line 5: Student Full name Line 6: Student ID Line 7: testgrade_1 testgrade_2 testgrade_3 testgrade_4 testgrade_5 Line 8: Student Full name Line 9: Student ID Line 10: testgrade_1 testgrade_2 testgrade_3 testgrade_4 testgrade_5 Etc. Read the data into...
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...
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...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT