Skip to content

Commit

Permalink
Revert unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
luke396 committed Apr 23, 2024
1 parent adc9553 commit 684fb0c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions examples/notebooks/regression_diagnostics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Regression diagnostics\n"
"# Regression diagnostics"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This example file shows how to use a few of the `statsmodels` regression diagnostic tests in a real-life context. You can learn about more tests and find out more information about the tests here on the [Regression Diagnostics page.](https://www.statsmodels.org/stable/diagnostic.html)\n",
"This example file shows how to use a few of the ``statsmodels`` regression diagnostic tests in a real-life context. You can learn about more tests and find out more information about the tests here on the [Regression Diagnostics page.](https://www.statsmodels.org/stable/diagnostic.html)\n",
"\n",
"Note that most of the tests described here only return a tuple of numbers, without any annotation. A full description of outputs is always included in the docstring and in the online `statsmodels` documentation. For presentation purposes, we use the `zip(name,test)` construct to pretty-print short descriptions in the examples below.\n"
"Note that most of the tests described here only return a tuple of numbers, without any annotation. A full description of outputs is always included in the docstring and in the online ``statsmodels`` documentation. For presentation purposes, we use the ``zip(name,test)`` construct to pretty-print short descriptions in the examples below."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Estimate a regression model\n"
"## Estimate a regression model"
]
},
{
Expand Down Expand Up @@ -61,7 +61,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Normality of the residuals\n"
"## Normality of the residuals"
]
},
{
Expand Down Expand Up @@ -168,7 +168,7 @@
"source": [
"## Influence tests\n",
"\n",
"Once created, an object of class `OLSInfluence` holds attributes and methods that allow users to assess the influence of each observation. For example, we can compute and extract the first few rows of DFbetas by:\n"
"Once created, an object of class ``OLSInfluence`` holds attributes and methods that allow users to assess the influence of each observation. For example, we can compute and extract the first few rows of DFbetas by:"
]
},
{
Expand All @@ -187,9 +187,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Explore other options by typing `dir(influence_test)`\n",
"Explore other options by typing ``dir(influence_test)``\n",
"\n",
"Useful information on leverage can also be plotted:\n"
"Useful information on leverage can also be plotted:"
]
},
{
Expand All @@ -208,7 +208,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Other plotting options can be found on the [Graphics page.](https://www.statsmodels.org/stable/graphics.html)\n"
"Other plotting options can be found on the [Graphics page.](https://www.statsmodels.org/stable/graphics.html)"
]
},
{
Expand All @@ -217,7 +217,7 @@
"source": [
"## Heteroskedasticity tests\n",
"\n",
"Breush-Pagan test:\n"
"Breush-Pagan test:"
]
},
{
Expand All @@ -235,7 +235,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Goldfeld-Quandt test\n"
"Goldfeld-Quandt test"
]
},
{
Expand All @@ -255,7 +255,7 @@
"source": [
"## Linearity\n",
"\n",
"Harvey-Collier multiplier test for Null hypothesis that the linear specification is correct:\n"
"Harvey-Collier multiplier test for Null hypothesis that the linear specification is correct:"
]
},
{
Expand Down

0 comments on commit 684fb0c

Please sign in to comment.