Skip to content

Commit d99bce9

Browse files
authored
Merge pull request statsmodels#8900 from Tartopohm/wls_loglike_docstring
DOC: correct typo in WLS.loglike docstring
2 parents 98971b4 + 56910c9 commit d99bce9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

statsmodels/regression/linear_model.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -794,9 +794,10 @@ def loglike(self, params):
794794
-----
795795
.. math:: -\frac{n}{2}\log SSR
796796
-\frac{n}{2}\left(1+\log\left(\frac{2\pi}{n}\right)\right)
797-
-\frac{1}{2}\log\left(\left|W\right|\right)
797+
+\frac{1}{2}\log\left(\left|W\right|\right)
798798
799-
where :math:`W` is a diagonal weight matrix matrix and
799+
where :math:`W` is a diagonal weight matrix matrix,
800+
:math:`\left|W\right|` is its determinant, and
800801
:math:`SSR=\left(Y-\hat{Y}\right)^\prime W \left(Y-\hat{Y}\right)` is
801802
the sum of the squared weighted residuals.
802803
"""

0 commit comments

Comments
 (0)