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
tools.rootfinding.brentq_expanding is used once in stats.power (which itself is nearly-unused). Can brentq_expanding be supplanted by something modern from scipy?
power is not nearly-unused.
It's a feature in itself, e.g #4022
scipy rootfinders don't have a direct equivalent of tools.rootfinding.brentq_expanding and I wrote it specifically to handle power rootfinding
I don't know about the other ones without checking.
power is not nearly-unused. It's a feature in itself
Poor word choice; my bad. I'm trying to identify the subset of stats+tools that is needed by base+regression+discrete+tsa+genmod+robust (and to a lesser extent duration+multivariate+nonparametric..., though I'm less familiar with those).
Every once in a while I'm looking at adding power computation to the models :)
But that looks still far away. I don't have an overview and only some vague ideas.
What is higher on my priority but doesn't directly link code, is to find and document hypothesis tests in Models and in stats functions that are equivalent (except for small sample corrections) and use that more extensively for unit tests.
Activity
jbrockmendel commentedon Oct 12, 2017
Also
lstsq.jbrockmendel commentedon Oct 12, 2017
linalg.logdet_symmis used a couple of times, but appears to be equivalent tonp.linalg.slogdet(x)[1], and the latter ~2x faster.jbrockmendel commentedon Oct 13, 2017
tools.rootfinding.brentq_expandingis used once instats.power(which itself is nearly-unused). Can brentq_expanding be supplanted by something modern from scipy?josef-pkt commentedon Oct 13, 2017
poweris not nearly-unused.It's a feature in itself, e.g #4022
scipy rootfinders don't have a direct equivalent of
tools.rootfinding.brentq_expandingand I wrote it specifically to handlepowerrootfindingI don't know about the other ones without checking.
jbrockmendel commentedon Oct 13, 2017
Poor word choice; my bad. I'm trying to identify the subset of stats+tools that is needed by base+regression+discrete+tsa+genmod+robust (and to a lesser extent duration+multivariate+nonparametric..., though I'm less familiar with those).
josef-pkt commentedon Oct 13, 2017
Every once in a while I'm looking at adding
powercomputation to the models :)But that looks still far away. I don't have an overview and only some vague ideas.
What is higher on my priority but doesn't directly link code, is to find and document hypothesis tests in
Modelsand instatsfunctions that are equivalent (except for small sample corrections) and use that more extensively for unit tests.jbrockmendel commentedon Oct 24, 2017
compat.testing.examplejbrockmendel commentedon Oct 24, 2017
arima_model._unpack_order
jbrockmendel commentedon Oct 24, 2017
stattools._safe_arma_fit, stattools.arma_order_select_ic
jbrockmendel commentedon Oct 24, 2017
tsa.varma_process._Var, VarmaPoly, varfilter, ar2lhs, ar2full (pretty much all of varma_process)