Skip to content

Commit 8b036a7

Browse files
committed
DOC: Avoid invalid escapes
Use literal strings for LaTex
1 parent edc8b16 commit 8b036a7

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

arch/univariate/mean.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ def forecast(self, parameters, horizon=1, start=None, align='origin',
699699

700700

701701
class ConstantMean(HARX):
702-
"""
702+
r"""
703703
Constant mean model estimation and simulation.
704704
705705
Parameters
@@ -730,7 +730,6 @@ class ConstantMean(HARX):
730730
.. math::
731731
732732
y_t = \mu + \epsilon_t
733-
734733
"""
735734

736735
def __init__(self, y=None, hold_back=None,
@@ -808,7 +807,7 @@ def resids(self, params, y=None, regressors=None):
808807

809808

810809
class ZeroMean(HARX):
811-
"""
810+
r"""
812811
Model with zero conditional mean estimation and simulation
813812
814813
Parameters
@@ -921,7 +920,7 @@ def resids(self, params, y=None, regressors=None):
921920

922921

923922
class ARX(HARX):
924-
"""
923+
r"""
925924
Autoregressive model with optional exogenous regressors estimation and
926925
simulation
927926
@@ -1022,7 +1021,7 @@ def _generate_lag_names(self):
10221021

10231022

10241023
class LS(HARX):
1025-
"""
1024+
r"""
10261025
Least squares model estimation and simulation
10271026
10281027
Parameters

0 commit comments

Comments
 (0)