Describing the problem - Tree Example

The tree is over estimating \(Y\) for \(x^1 \in [0,0.2]\) and \(x^2 \in [0.8,1]\) as it is projecting 1.74 where the true value of \(Y\) is 1 the prior model could predict 0.99.

library(tree)

tree_model <- tree(yx ~ x1 + x2, data = same_group_df)