cross_predict(x=None, ds=None, name=None)¶
Predict responses to
xusing complementary training data
None]) – Predictors used in the original model fit. In order for cross-prediction to be accurate,
xneeds to match the
xused in the original fit exactly in cases and time.
Dataset]) – Dataset with predictors. If
xcan be omitted.
Simple prediction of linear model
This function does not adjust the mean across time of predicted responses; subtract the mean in order to compute explained variance.
- Return type