Skip to content

Commit

Permalink
Merge pull request #549 from bashtage/rls-5.2
Browse files Browse the repository at this point in the history
RLS: Update docs
  • Loading branch information
bashtage authored Sep 8, 2023
2 parents d482c34 + 145cfa4 commit 419b163
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 3 deletions.
6 changes: 6 additions & 0 deletions doc/source/changes/5.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
Variables will appear in results in the same order they are entered in
the formula string.

Version 5.2
-----------
* Fixed a bug that affected dropping absorbed regressors when using weights (:issue:`546`).
* Improved the licensing information (:issue:`545`).
* Improved compatability with recent pandas (:issue:`548`).

Version 5.1
-----------
* Fixed a bug that affected the counting of the number of entities and time periods
Expand Down
61 changes: 58 additions & 3 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
"sphinx.ext.napoleon",
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.extlinks",
Expand All @@ -55,8 +56,7 @@
"sphinx.ext.ifconfig",
"sphinx.ext.githubpages",
# "numpydoc",
"sphinx.ext.napoleon",
"sphinx_autodoc_typehints",
# "sphinx_autodoc_typehints",
"IPython.sphinxext.ipython_console_highlighting",
"IPython.sphinxext.ipython_directive",
"nbsphinx",
Expand Down Expand Up @@ -147,7 +147,6 @@
"site_url": "https://bashtage.github.io/linearmodels/",
"repo_url": "https://github.com/bashtage/linearmodels/",
"repo_name": "linearmodels",
"repo_type": "github",
"palette": {"primary": "blue", "accent": "orange"},
"globaltoc_collapse": True,
"toc_title": "Contents",
Expand Down Expand Up @@ -300,6 +299,62 @@
napoleon_use_admonition_for_examples = False
napoleon_use_admonition_for_notes = False
napoleon_use_admonition_for_references = False
napoleon_preprocess_types = True
napoleon_use_param = True
napoleon_type_aliases = {
"array-like": ":term:`array-like <array_like>`",
"array_like": ":term:`array_like`",
"Figure": "matplotlib.figure.Figure",
"Axes": "matplotlib.axes.Axes",
"AxesSubplot": "matplotlib.axes.Axes",
"DataFrame": "pandas.DataFrame",
"Series": "pandas.Series",
"BetweenOLS": "linearmodels.panel.model.BetweenOLS",
"FamaMacBeth": "linearmodels.panel.model.FamaMacBeth",
"FirstDifferenceOLS": "linearmodels.panel.model.FirstDifferenceOLS",
"IV2SLS": "linearmodels.iv.model.IV2SLS",
"IV3SLS": "linearmodels.system.model.IV3SLS",
"IVGMM": "linearmodels.iv.model.IVGMM",
"IVGMMCUE": "linearmodels.iv.model.IVGMMCUE",
"IVLIML": "linearmodels.iv.model.IVLIML",
"IVSystemGMM": "linearmodels.system.model.IVSystemGMM",
"LinearFactorModel": "linearmodels.asset_pricing.model.LinearFactorModel",
"LinearFactorModelGMM": "linearmodels.asset_pricing.model.LinearFactorModelGMM",
"OLS": "linearmodels.iv.model.OLS",
"PanelOLS": "linearmodels.panel.model.PanelOLS",
"PooledOLS": "linearmodels.panel.model.PooledOLS",
"RandomEffects": "linearmodels.panel.model.RandomEffects",
"SUR": "linearmodels.system.model.SUR",
"TradedFactorModel": "linearmodels.asset_pricing.model.TradedFactorModel",
"AbsorbingLSResults": "linearmodels.iv.absorbing.AbsorbingLSResults",
"FirstStageResults": "linearmodels.iv.results.FirstStageResults",
"IVGMMResults": "linearmodels.iv.results.IVGMMResults",
"IVModelComparison": "linearmodels.iv.results.IVModelComparison",
"IVResults": "linearmodels.iv.results.IVResults",
"InvalidTestStatistic": "linearmodels.shared.InvalidTestStatistic",
"OLSResults": "linearmodels.iv.results.OLSResults",
"WaldTestStatistic": "linearmodels.shared.hypotheses.WaldTestStatistic",
"LinearConstraint": "linearmodels.system.model.LinearConstraint",
"PanelEffectsResults": "linearmodels.panel.results.PanelEffectsResults",
"PanelModelComparison": "linearmodels.panel.results.PanelModelComparison",
"PanelResults": "linearmodels.panel.results.PanelResults",
"RandomEffectsResults": "linearmodels.panel.results.RandomEffectsResults",
"GMMSystemResults": "linearmodels.system.results.GMMSystemResults",
"Summary": "linearmodels.compat.statsmodels.Summary",
"SystemEquationResult": "linearmodels.system.results.SystemEquationResult",
"SystemResults": "linearmodels.system.results.SystemResults",
"GMMFactorModelResults": "linearmodels.asset_pricing.results.GMMFactorModelResults",
"LinearFactorModelResults": "linearmodels.asset_pricing.results.LinearFactorModelResults",
"PanelData": "linearmodels.panel.data.PanelData",
"IVData": "linearmodels.iv.data.IVData",
"AttrDict": "linearmodels.shared.utility.AttrDict",
"csc_matrix": "scipy.sparse.csc_matrix",
"DataArray": "xarray.DataArray",
"PanelModelData": "linearmodels.panel.utility.PanelModelData",
"ndarray": "numpy.ndarray",
"np.ndarray": "numpy.array",
"pd.Series": "pandas.Series",
}

# Create xrefs
numpydoc_use_autodoc_signature = True
Expand Down

0 comments on commit 419b163

Please sign in to comment.