pred_var

MultiRegressionMixin.pred_var(X)[source]

Prediction variances for the new values specified in X. It includes the additional variance from the random errors and random effects for a new prediction.

Parameters

Xpd.DataFrame

The data

Returns

pred_varnp.array(1d)

The prediction variance for each sample.