Exam ATPA Practice Question 29
Study guide: Exam ATPA
A modeler compares a regression tree with a linear regression on six observations of a predictor x and a response y:
x |
1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
y |
3 | 4 | 4 | 5 | 12 | 14 |
The tree is grown by recursive binary splitting on the residual sum of squares and stopped after one split. The least squares line through the same data is \hat{y} = -1.00 + 2.29x.
Part a (1 point)
Which cutoff does the tree's split use?
- A)
x < 1.5 - B)
x < 2.5 - C)
x < 3.5 - D)
x < 4.5 - E)
x < 5.5
Part b (1 point)
A new observation has x = 8, beyond the range of the data. What do the two models predict for it?
- A) The tree predicts 13.0 and the line predicts 17.3
- B) The tree predicts 14.0 and the line predicts 17.3
- C) The tree predicts 17.3 and the line predicts 17.3
- D) The tree predicts 13.0 and the line predicts 13.0
Answer the question to see the worked solution.