eelbrain.testnd.LM.predict

LM.predict(values, name=None)

Predict y based on given values of x

Parameters:
  • values (Sequence[float] | Dict[str, float]) – Give as list of values, in the same order as x, or as dictionary mapping predictor names to values (missing predictors are substituted with the mean from the original data).

  • name (str) – Name the resulting NDVar.

Return type:

NDVar