Data Transformation Activity
Data Transformation Activity
1. The table below gives the age (in years) and the diameter (in inches) for twenty-seven oak trees.
Age Diameter Age Diameter
4 0.8 23 4.7
5 0.8 25 6.5
8 1 28 6
8 2 29 4.5
8 3 30 6
10 2 30 7
10 3.5 33 8
12 4.9 34 6.5
13 3.5 35 7
14 2.5 38 5
16 4.5 38 7
18 4.6 40 7.5
20 5.5 42 7.5
22 5.8
2. Look at a scatter plot of the data.
3. Analyze the regression model.
4. Take the natural log of the age, L1, and store in L3.
5. Graph the scatter plot (ln(age), diameter) (L3, L2).
6. Find the linear regression for L3, L2.
7. Graph the regression equation with the scatter plot.
8. Analyze the regression model of the form y = a + bx
9. Rewrite the equation to the form y = f ( x). Remember: x = ln(age) , so use substitution to
write your equation logarithmic form.
10. Enter this equation in Y2.
11. Graph Y2 on the scatter plot L1, L2.
12. How well is the data captured by this line?
13. Use the TRACE function to predict the diameter of an oak tree that is 24 years old.
14. Find the logarithmic regression for L1, L2.
15. How do the answers compare?
16. Note the values of r and r2 in the linear regression of the transformed data and in the logarithmic
regression of the original data.
17. How well does the line fit the data?
18. Plot the residuals.
19. How are the residuals grouped?
AP STATISTICS | Transforming data using the natural log | SHUBLEKA
Repeat the steps in the first activity using the given data and by transforming WEIGHT so that L3 =
LN (WEIGHT). Run exponential regression before the comparison step. Summarize what you have
learnt in these activities in two short paragraphs.
Related Mathematics: