Skip to content

Commit

Permalink
DOC/RLS: Final update for release 0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
bashtage committed May 5, 2023
1 parent e12de82 commit edcaf3a
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 22 deletions.
14 changes: 13 additions & 1 deletion docs/source/_static/stylesheets/deprecation.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ div.deprecated, div.versionadded, div.versionchanged {
position: relative;
transition: color .25s,background-color .25s,border-color .25s;
vertical-align: middle;
font-size: 0.64rem;
font-size: 0.72rem;
}
div.deprecated>p, div.versionadded>p, div.versionchanged>p {
margin-bottom: .6rem;
Expand All @@ -35,6 +35,11 @@ div.deprecated {
background-color: rgba(255, 0, 0, 0.1);
}

div.versionadded {
border-color: #459db9;
background-color: rgba(0, 191, 255, 0.1);
}

span.versionmodified {
font-weight: 600;
}
Expand All @@ -47,7 +52,14 @@ div.deprecated p:before {
background-color: #dc3545;
}

div.versionadded p:before {
background-color: #459db9;
}

span.versionmodified.deprecated:before {
color: #dc3545;
}

span.versionmodified.added {
color: #459db9;
}
28 changes: 22 additions & 6 deletions docs/source/release/version0.14.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ was already in statsmodels main and how much usage it has already
seen. If there are specific known problems or limitations, then they
are mentioned in the docstrings.

Github Stats
------------
**Issues Closed**: 248
Stats
-----
**Issues Closed**: 255

**Pull Requests Merged**: 335
**Pull Requests Merged**: 345


The Highlights
Expand Down Expand Up @@ -144,7 +144,7 @@ Submodules
- Fix a typo in the documentation (:pr:`8275`)
- Fix `histogram` (:pr:`8299`)
- Add notebook for Poisson post-estimation overview (:pr:`8420`)

- Add version (:pr:`8863`)



Expand Down Expand Up @@ -186,6 +186,7 @@ Submodules
- MNLogit if endog is series with no name (:pr:`8674`)
- Get_distribution, return 1-d instead of column frozen distribution (:pr:`8780`)
- Numpy compat, indexed assignment shape in NegativeBinomial (:pr:`8822`)
- Support offset in truncated count models (:pr:`8845`)



Expand Down Expand Up @@ -245,6 +246,9 @@ Submodules
- Update PRs in release note (:pr:`8805`)
- Improve release notes highlights (:pr:`8806`)
- Fix more deprecations and restore doc build (:pr:`8826`)
- Final changes for 0.14.0rc0 notes (:pr:`8839`)
- Fix internet address of dataset (:pr:`8861`)
- Small additional fixes (:pr:`8862`)



Expand Down Expand Up @@ -616,7 +620,7 @@ Thanks to all of the contributors for the 0.14.0 release (based on git log):
- Eva Maxfield Brown
- Evgeny Zhurko
- Ewout Ter Hoeven
- Geoffrey M. Oxberry
- Geoffrey Oxberry
- Greg Mcmahan
- Gregory Parkes
- Guilherme Silveira
Expand All @@ -629,6 +633,7 @@ Thanks to all of the contributors for the 0.14.0 release (based on git log):
- Josef Perktold
- João Tanaka
- Kees Mulder
- Kerby Shedden
- Kevin Sheppard
- Kirill Milash
- Kirill Ulanov
Expand Down Expand Up @@ -1019,3 +1024,14 @@ The following Pull Requests were merged since the last release:
- :pr:`8831`: BUG: Correct initial level, treand and seasonal
- :pr:`8834`: MAINT: Switch DeprecationWarn to FutureWarn
- :pr:`8835`: ENH: Add sharex for seasonal decompose plots
- :pr:`8839`: DOC: Final changes for 0.14.0rc0 notes
- :pr:`8845`: BUG/ENH: support offset in truncated count models
- :pr:`8847`: DOC: Use JSON for versioning
- :pr:`8851`: BUG: Fix added variable plots to work with OLS
- :pr:`8857`: DOC: Small fix for STLForecast example
- :pr:`8858`: DOC: Fix example notebooks
- :pr:`8861`: DOC: Fix internet address of dataset
- :pr:`8862`: DOC: Small additional fixes
- :pr:`8863`: DOC: Add version
- :pr:`8865`: MAINT: Move from Styler.applymap to map
- :pr:`8866`: DOC: Add admonitions for changes and deprecations
6 changes: 3 additions & 3 deletions statsmodels/discrete/truncated_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
class TruncatedLFGeneric(CountModel):
__doc__ = """
Generic Truncated model for count data
.. versionadded:: 0.14.0
%(params)s
Expand Down Expand Up @@ -509,7 +509,7 @@ class TruncatedLFNegativeBinomialP(TruncatedLFGeneric):
Truncated Generalized Negative Binomial model for count data
.. versionadded:: 0.14.0
%(params)s
%(extra_params)s
Expand Down Expand Up @@ -1045,7 +1045,7 @@ def _prob_nonzero(self, mu, params):
class HurdleCountModel(CountModel):
__doc__ = """
Hurdle model for count data
.. versionadded:: 0.14.0
%(params)s
Expand Down
25 changes: 13 additions & 12 deletions statsmodels/stats/rates.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
'''Test for ratio of Poisson intensities in two independent samples
'''
Test for ratio of Poisson intensities in two independent samples
Author: Josef Perktold
License: BSD-3
Expand Down Expand Up @@ -639,7 +640,7 @@ def test_poisson_2indep(count1, exposure1, count2, exposure2, value=None,
Ratio of the two Poisson rates under the Null hypothesis. Default is 1.
Deprecated, use ``value`` instead.
.. deprecaated:: 0.14.0
.. deprecated:: 0.14.0
Use ``value`` instead.
Expand Down Expand Up @@ -908,12 +909,12 @@ def etest_poisson_2indep(count1, exposure1, count2, exposure2, ratio_null=None,
value=None, method='score', compare="ratio",
alternative='two-sided', ygrid=None,
y_grid=None):
"""E-test for ratio of two sample Poisson rates.
Rates are defined as expected count divided by exposure.
"""
E-test for ratio of two sample Poisson rates.
The Null and alternative hypothesis for the rates, rate1 and rate2, of two
independent Poisson samples are
Rates are defined as expected count divided by exposure. The Null and
alternative hypothesis for the rates, rate1 and rate2, of two independent
Poisson samples are:
for compare = 'diff'
Expand Down Expand Up @@ -943,7 +944,7 @@ def etest_poisson_2indep(count1, exposure1, count2, exposure2, ratio_null=None,
Ratio of the two Poisson rates under the Null hypothesis. Default is 1.
Deprecated, use ``value`` instead.
.. deprecaated:: 0.14.0
.. deprecated:: 0.14.0
Use ``value`` instead.
Expand All @@ -960,9 +961,9 @@ def etest_poisson_2indep(count1, exposure1, count2, exposure2, ratio_null=None,
alternative : string
The alternative hypothesis, H1, has to be one of the following
'two-sided': H1: ratio of rates is not equal to ratio_null (default)
'larger' : H1: ratio of rates is larger than ratio_null
'smaller' : H1: ratio of rates is smaller than ratio_null
- 'two-sided': H1: ratio of rates is not equal to ratio_null (default)
- 'larger' : H1: ratio of rates is larger than ratio_null
- 'smaller' : H1: ratio of rates is smaller than ratio_null
y_grid : None or 1-D ndarray
Grid values for counts of the Poisson distribution used for computing
Expand All @@ -973,7 +974,7 @@ def etest_poisson_2indep(count1, exposure1, count2, exposure2, ratio_null=None,
Same as y_grid. Deprecated. If both y_grid and ygrid are provided,
ygrid will be ignored.
.. deprecaated:: 0.14.0
.. deprecated:: 0.14.0
Use ``y_grid`` instead.
Expand Down

0 comments on commit edcaf3a

Please sign in to comment.