STAT 357 Homework #1
STAT 357 Homework #1
1. In forestry, the diameter of a tree at breast height (which is fairly easy to measure) is commonly used to estimate
the height of the tree (which can be difficult to measure). Silviculturists working in British Columbia’s boreal
forest conducted a series of spacing trials to predict the heights of several species of trees.
The data file WHITESPRUCE.csv, which can be found on our course Moodle page, contains the breast height
diameter (in centimetres) and heights (in metres) for a sample of 36 white spruce trees.
a. Use R to open the data and construct a histogram for the height variable. How would you describe the
shape of the histogram?
b. Calculate the mean and standard deviation for the heights and breast height diameters of the sampled
white spruce trees.
c. Construct a scatterplot relating breast height diameter (x) and height (y). How would you describe the
relationship between diameter and height?
d. Determine the least squares regression line relating breast height diameter to height. Give a practical
interpretation of the slope and y-intercept of the line (if possible).
e. Plot the least squares regression line with the data.
y = β0 + β1 x + ε
From Mendenhall & Sincich, A Second Course in Statistics: Regression Analysis (8th Edition):
3. Chapter 3, Question 6
5. Chapter 3, Question 10