statsmodels.genmod.generalized_linear_model.GLM.predict
GLM.predict(params, exog=None, exposure=None, offset=None, linear=False) [source]
Return predicted values for a design matrix Parameters:
params : array-like Parameters / coefficients of a GLM. exog : array-like, optional Design / exogenous data. Is exog is None, model exog is used. exposure : array-like, optional Exposure time values, only can be used with the log link function. See notes for details. offset : array-like, option