GLM.predict(params, exog=None, exposure=None, offset=None, linear=False) [source]
Return predicted values for a design matrix
| Parameters: |
|
|---|---|
| Returns: | |
| Return type: |
An array of fitted values |
Any exposure and offset provided here take precedence over the exposure and offset used in the model fit. If exog is passed as an argument here, then any exposure and offset values in the fit will be ignored.
Exposure values must be strictly positive.
© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.genmod.generalized_linear_model.GLM.predict.html