Skip to content

Commit edcaf3a

Browse files
committed
DOC/RLS: Final update for release 0.14
1 parent e12de82 commit edcaf3a

File tree

4 files changed

+51
-22
lines changed

4 files changed

+51
-22
lines changed

docs/source/_static/stylesheets/deprecation.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ div.deprecated, div.versionadded, div.versionchanged {
2323
position: relative;
2424
transition: color .25s,background-color .25s,border-color .25s;
2525
vertical-align: middle;
26-
font-size: 0.64rem;
26+
font-size: 0.72rem;
2727
}
2828
div.deprecated>p, div.versionadded>p, div.versionchanged>p {
2929
margin-bottom: .6rem;
@@ -35,6 +35,11 @@ div.deprecated {
3535
background-color: rgba(255, 0, 0, 0.1);
3636
}
3737

38+
div.versionadded {
39+
border-color: #459db9;
40+
background-color: rgba(0, 191, 255, 0.1);
41+
}
42+
3843
span.versionmodified {
3944
font-weight: 600;
4045
}
@@ -47,7 +52,14 @@ div.deprecated p:before {
4752
background-color: #dc3545;
4853
}
4954

55+
div.versionadded p:before {
56+
background-color: #459db9;
57+
}
58+
5059
span.versionmodified.deprecated:before {
5160
color: #dc3545;
5261
}
5362

63+
span.versionmodified.added {
64+
color: #459db9;
65+
}

docs/source/release/version0.14.0.rst

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ was already in statsmodels main and how much usage it has already
2121
seen. If there are specific known problems or limitations, then they
2222
are mentioned in the docstrings.
2323

24-
Github Stats
25-
------------
26-
**Issues Closed**: 248
24+
Stats
25+
-----
26+
**Issues Closed**: 255
2727

28-
**Pull Requests Merged**: 335
28+
**Pull Requests Merged**: 345
2929

3030

3131
The Highlights
@@ -144,7 +144,7 @@ Submodules
144144
- Fix a typo in the documentation (:pr:`8275`)
145145
- Fix `histogram` (:pr:`8299`)
146146
- Add notebook for Poisson post-estimation overview (:pr:`8420`)
147-
147+
- Add version (:pr:`8863`)
148148

149149

150150

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

190191

191192

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

249253

250254

@@ -616,7 +620,7 @@ Thanks to all of the contributors for the 0.14.0 release (based on git log):
616620
- Eva Maxfield Brown
617621
- Evgeny Zhurko
618622
- Ewout Ter Hoeven
619-
- Geoffrey M. Oxberry
623+
- Geoffrey Oxberry
620624
- Greg Mcmahan
621625
- Gregory Parkes
622626
- Guilherme Silveira
@@ -629,6 +633,7 @@ Thanks to all of the contributors for the 0.14.0 release (based on git log):
629633
- Josef Perktold
630634
- João Tanaka
631635
- Kees Mulder
636+
- Kerby Shedden
632637
- Kevin Sheppard
633638
- Kirill Milash
634639
- Kirill Ulanov
@@ -1019,3 +1024,14 @@ The following Pull Requests were merged since the last release:
10191024
- :pr:`8831`: BUG: Correct initial level, treand and seasonal
10201025
- :pr:`8834`: MAINT: Switch DeprecationWarn to FutureWarn
10211026
- :pr:`8835`: ENH: Add sharex for seasonal decompose plots
1027+
- :pr:`8839`: DOC: Final changes for 0.14.0rc0 notes
1028+
- :pr:`8845`: BUG/ENH: support offset in truncated count models
1029+
- :pr:`8847`: DOC: Use JSON for versioning
1030+
- :pr:`8851`: BUG: Fix added variable plots to work with OLS
1031+
- :pr:`8857`: DOC: Small fix for STLForecast example
1032+
- :pr:`8858`: DOC: Fix example notebooks
1033+
- :pr:`8861`: DOC: Fix internet address of dataset
1034+
- :pr:`8862`: DOC: Small additional fixes
1035+
- :pr:`8863`: DOC: Add version
1036+
- :pr:`8865`: MAINT: Move from Styler.applymap to map
1037+
- :pr:`8866`: DOC: Add admonitions for changes and deprecations

statsmodels/discrete/truncated_model.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
class TruncatedLFGeneric(CountModel):
3232
__doc__ = """
3333
Generic Truncated model for count data
34-
34+
3535
.. versionadded:: 0.14.0
3636
3737
%(params)s
@@ -509,7 +509,7 @@ class TruncatedLFNegativeBinomialP(TruncatedLFGeneric):
509509
Truncated Generalized Negative Binomial model for count data
510510
511511
.. versionadded:: 0.14.0
512-
512+
513513
%(params)s
514514
%(extra_params)s
515515
@@ -1045,7 +1045,7 @@ def _prob_nonzero(self, mu, params):
10451045
class HurdleCountModel(CountModel):
10461046
__doc__ = """
10471047
Hurdle model for count data
1048-
1048+
10491049
.. versionadded:: 0.14.0
10501050
10511051
%(params)s

statsmodels/stats/rates.py

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
'''Test for ratio of Poisson intensities in two independent samples
1+
'''
2+
Test for ratio of Poisson intensities in two independent samples
23
34
Author: Josef Perktold
45
License: BSD-3
@@ -639,7 +640,7 @@ def test_poisson_2indep(count1, exposure1, count2, exposure2, value=None,
639640
Ratio of the two Poisson rates under the Null hypothesis. Default is 1.
640641
Deprecated, use ``value`` instead.
641642
642-
.. deprecaated:: 0.14.0
643+
.. deprecated:: 0.14.0
643644
644645
Use ``value`` instead.
645646
@@ -908,12 +909,12 @@ def etest_poisson_2indep(count1, exposure1, count2, exposure2, ratio_null=None,
908909
value=None, method='score', compare="ratio",
909910
alternative='two-sided', ygrid=None,
910911
y_grid=None):
911-
"""E-test for ratio of two sample Poisson rates.
912-
913-
Rates are defined as expected count divided by exposure.
912+
"""
913+
E-test for ratio of two sample Poisson rates.
914914
915-
The Null and alternative hypothesis for the rates, rate1 and rate2, of two
916-
independent Poisson samples are
915+
Rates are defined as expected count divided by exposure. The Null and
916+
alternative hypothesis for the rates, rate1 and rate2, of two independent
917+
Poisson samples are:
917918
918919
for compare = 'diff'
919920
@@ -943,7 +944,7 @@ def etest_poisson_2indep(count1, exposure1, count2, exposure2, ratio_null=None,
943944
Ratio of the two Poisson rates under the Null hypothesis. Default is 1.
944945
Deprecated, use ``value`` instead.
945946
946-
.. deprecaated:: 0.14.0
947+
.. deprecated:: 0.14.0
947948
948949
Use ``value`` instead.
949950
@@ -960,9 +961,9 @@ def etest_poisson_2indep(count1, exposure1, count2, exposure2, ratio_null=None,
960961
alternative : string
961962
The alternative hypothesis, H1, has to be one of the following
962963
963-
'two-sided': H1: ratio of rates is not equal to ratio_null (default)
964-
'larger' : H1: ratio of rates is larger than ratio_null
965-
'smaller' : H1: ratio of rates is smaller than ratio_null
964+
- 'two-sided': H1: ratio of rates is not equal to ratio_null (default)
965+
- 'larger' : H1: ratio of rates is larger than ratio_null
966+
- 'smaller' : H1: ratio of rates is smaller than ratio_null
966967
967968
y_grid : None or 1-D ndarray
968969
Grid values for counts of the Poisson distribution used for computing
@@ -973,7 +974,7 @@ def etest_poisson_2indep(count1, exposure1, count2, exposure2, ratio_null=None,
973974
Same as y_grid. Deprecated. If both y_grid and ygrid are provided,
974975
ygrid will be ignored.
975976
976-
.. deprecaated:: 0.14.0
977+
.. deprecated:: 0.14.0
977978
978979
Use ``y_grid`` instead.
979980

0 commit comments

Comments
 (0)