We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
running an example with Poisson mod = sm.Poisson(count, ex)
mod = sm.Poisson(count, ex)
>>> res.predict(exog=[1, 1, 0, 0], linear=False) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "e:\josef\eclipsegworkspace\statsmodels-git\statsmodels-all-new2\statsmodels\statsmodels\base\model.py", line 880, in predict return self.model.predict(self.params, exog, *args, **kwargs) File "e:\josef\eclipsegworkspace\statsmodels-git\statsmodels-all-new2\statsmodels\statsmodels\discrete\discrete_model.py", line 682, in predict return np.exp(np.dot(exog, params[:exog.shape[1]]) + exposure + offset) # not cdf AttributeError: 'list' object has no attribute 'shape'
The text was updated successfully, but these errors were encountered:
BUG: Fixed issue statsmodels#1032 - Poisson predict breaks on list
b5a39a3
Successfully merging a pull request may close this issue.
running an example with Poisson
mod = sm.Poisson(count, ex)
The text was updated successfully, but these errors were encountered: