A (predictive) statistical model. Intended to be subclassed not used.
Parameters: | endog : array-like
exog : array-like
missing : str
hasconst : None or bool
|
---|
Notes
endog and exog are references to any data provided. So if the data is already stored in numpy arrays and it is changed then endog and exog will change as well.
Methods
fit() | Fit a model to data. |
from_formula(formula, data[, subset, drop_cols]) | Create a Model from a formula and dataframe. |
predict(params[, exog]) | After a model has been fit predict returns the fitted values. |
Methods
fit() | Fit a model to data. |
from_formula(formula, data[, subset, drop_cols]) | Create a Model from a formula and dataframe. |
predict(params[, exog]) | After a model has been fit predict returns the fitted values. |
Attributes
endog_names | Names of endogenous variables |
exog_names | Names of exogenous variables |