You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we would need some custom warnings that are set to always warn on first import of statsmodels. The warning level shouldn't be reset after the initial import by statsmodels (e.g. in later imports of some modules) so we don't affect changed settings by user.
example I have right now is
lag in cov_nw_panel: if lag is too large then we cannot use the largest lags, but we still have the truncated lagged sum.
I have it right now as exception, but I don't think that's useful. lag=a_large_number could just mean, take all available lags, as in python
>>> range(5)[:10]
[0, 1, 2, 3, 4]
However, in this example the kernel would still depend on the specified lag, so it would be a truncated kernel, any problems with that?
Activity
josef-pkt commentedon Feb 15, 2015
we have now several cases of specific warnings opened in several PRs in
statsmodels.tools.sm_exceptionsjosef-pkt commentedon Jun 6, 2016
searching the source, I see 6
UserWarningsleft in module code, none in the main models.we don't yet have a generic
StatsmodelsUserWarningfor cases that don't fit a specific Warning.josef-pkt commentedon Jun 6, 2016
Do we have documentation or a FAQ for statsmodels Warnings?
bashtage commentedon Jun 19, 2016
@josef-pkt Closeable?
[-]add SMWarnings[/-][+]FAQ-D SMWarnings[/+]josef-pkt commentedon Jun 19, 2016
I made it into a FAQ-D for developers, at least until we have a better FAQ-D or developer notes.
I think we have more plain warnings sneaking into master, until we get used to using those warnings.