
Mean squared error of a split at a single candidate partition point
Source:R/piecewise_ensemble.R
split_mse.RdFits the growth-curve ensemble separately to the two sides of a
candidate split d and returns the pooled MSE, as used by the grid
search in find_partition_point().
Arguments
- t, y
Time index and cumulative counts of the (open) window being searched, both starting at 1.
- d
Candidate partition point,
1 <= d < length(y).- criterion, beta_fixed
Passed to
fit_ensemble().