statsmodels.base.distributed_estimation.DistributedResults.predict

DistributedResults.predict(exog, *args, **kwargs)[source]

Calls self.model.predict for the provided exog. See Results.predict.

Parameters:
  • exog (array_like NOT optional) – The values for which we want to predict, unlike standard predict this is NOT optional since the data in self.model is fake.

  • *args – Some models can take additional arguments. See the predict method of the model for the details.

  • **kwargs – Some models can take additional keywords arguments. See the predict method of the model for the details.

Returns:

  • prediction (ndarray, pandas.Series or pandas.DataFrame)

  • See self.model.predict