Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
segsell committed May 8, 2024
1 parent 7ce9725 commit 487c25c
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 350 deletions.
1 change: 0 additions & 1 deletion docs/source/_static/css/custom_tobi.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ div.prompt {
display: none;
}


/* Classes for the index page. */
.index-card-image {
padding-top: 1rem;
Expand Down
53 changes: 0 additions & 53 deletions docs/source/explanations/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,61 +64,8 @@ Learn how to calculate different types of standard errors and do sensitivity ana
````
`````

<!-- ```{raw} html
<div class="container" id="index-container">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 d-flex">
<a href="optimization/index.html" id="index-link">
<div class="card text-center intro-card shadow">
<img src="../_static/images/optimization.svg" class="card-img-top"
alt="optimization icon" height="100"
>
<div class="card-body flex-fill">
<h5 class="card-title">Optimization</h5>
<p class="card-text">
Learn how to use constraints, parallelize function evaluations and configure every aspect of your optimization
</p>
</div>
</div>
</a>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 d-flex">
<a href="differentiation/index.html" id="index-link">
<div class="card text-center intro-card shadow">
<img src="../_static/images/differentiation.svg" class="card-img-top"
alt="differentiation icon" height="100"
>
<div class="card-body flex-fill">
<h5 class="card-title">Differentiation</h5>
<p class="card-text">
Learn how to influence step sizes, parallelize function evaluations and use advanced options for numerical differentiation
</p>
</div>
</div>
</a>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 d-flex">
<a href="inference/index.html" id="index-link">
<div class="card text-center intro-card shadow">
<img src="../_static/images/bullseye.svg" class="card-img-top"
alt="reference guides icon" height="100"
>
<div class="card-body flex-fill">
<h5 class="card-title">Estimation</h5>
<p class="card-text">
Learn how to calculate different types of standard errors an do sensitivity analysis
</p>
</div>
</div>
</a>
</div>
</div>
</div>
``` -->

```{toctree}
---
hidden: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,6 @@
"The main idea is to repeatedly draw clustered samples, get both uniform and clustered bootstrap estimates in these samples, and then compare how often the true null hypothesis is rejected."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import estimagic as em\n",
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"import pandas as pd\n",
"import scipy\n",
"import statsmodels.api as sm\n",
"from joblib import Parallel, delayed"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand All @@ -51,6 +36,21 @@
"In the simulations we perform below, we have $\\beta_0 = \\beta_1 =0$. $x_i$ and $x_g$ are drawn from a standard normal distribution, and $\\epsilon_i$ and $\\epsilon_g$ are drawn from a normal distribution with $\\mu_0$ and $\\sigma=0.5$. The value of $\\sigma$ is chosen to not blow up rejection rates in the independent case too much."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import estimagic as em\n",
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"import pandas as pd\n",
"import scipy\n",
"import statsmodels.api as sm\n",
"from joblib import Parallel, delayed"
]
},
{
"cell_type": "code",
"execution_count": 2,
Expand Down
83 changes: 0 additions & 83 deletions docs/source/getting_started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,89 +105,6 @@ Collection of tutorials, talks, and screencasts on estimagic.
`````

<!-- ```{raw} html
<div class="container" id="index-container">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 d-flex">
<a href="first_optimization_with_estimagic.html" id="index-link">
<div class="card text-center intro-card shadow">
<img src="../_static/images/optimization.svg" class="card-img-top"
alt="optimization icon" height="100"
>
<div class="card-body flex-fill">
<h5 class="card-title">Optimization</h5>
<p class="card-text">
Learn numerical optimization with estimagic
</p>
</div>
</div>
</a>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 d-flex">
<a href="first_derivative_with_estimagic.html" id="index-link">
<div class="card text-center intro-card shadow">
<img src="../_static/images/differentiation.svg" class="card-img-top"
alt="differentiation icon" height="100"
>
<div class="card-body flex-fill">
<h5 class="card-title">Differentiation</h5>
<p class="card-text">
Learn numerical differentiation with estimagic
</p>
</div>
</div>
</a>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 d-flex">
<a href="estimation/index.html" id="index-link">
<div class="card text-center intro-card shadow">
<img src="../_static/images/bullseye.svg" class="card-img-top"
alt="reference guides icon" height="100"
>
<div class="card-body flex-fill">
<h5 class="card-title">Estimation</h5>
<p class="card-text">
Learn maximum likelihood and methods of simulated moments estimation with estimagic
</p>
</div>
</div>
</a>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 d-flex">
<a href="installation.html" id="index-link">
<div class="card text-center intro-card shadow">
<img src="../_static/images/installation.svg" class="card-img-top"
alt="installation icon" height="100"
>
<div class="card-body flex-fill">
<h5 class="card-title">Installation</h5>
<p class="card-text">
Installation instructions for estimagic
and optional dependencies
</p>
</div>
</div>
</a>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<a href="../videos.html" id="index-link">
<div class="card text-center intro-card shadow" style="width: 100%;">
<img src="../_static/images/video.svg" class="card-img-top"
alt="video icon" height="60"
>
<div class="card-body flex-fill">
<h5 class="card-title">Videos</h5>
<p class="card-text">
Collection of tutorials, talks, and screencasts on estimagic.
</p>
</div>
</div>
</a>
</div>
</div>
</div>
``` -->

```{toctree}
---
hidden: true
Expand Down
83 changes: 0 additions & 83 deletions docs/source/how_to_guides/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,91 +104,8 @@ Collection of tutorials, talks, and screencasts on estimagic.
````
`````

<!-- ```{raw} html
<div class="container" id="index-container">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 d-flex">
<a href="optimization/index.html" id="index-link">
<div class="card text-center intro-card shadow">
<img src="../_static/images/optimization.svg" class="card-img-top"
alt="optimization icon" height="100"
>
<div class="card-body flex-fill">
<h5 class="card-title">Optimization</h5>
<p class="card-text">
Learn how to use constraints, parallelize function evaluations and configure every aspect of your optimization
</p>
</div>
</div>
</a>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 d-flex">
<a href="differentiation/index.html" id="index-link">
<div class="card text-center intro-card shadow">
<img src="../_static/images/differentiation.svg" class="card-img-top"
alt="differentiation icon" height="100"
>
<div class="card-body flex-fill">
<h5 class="card-title">Differentiation</h5>
<p class="card-text">
Learn how to influence step sizes, parallelize function evaluations and use advanced options for numerical differentiation
</p>
</div>
</div>
</a>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 d-flex">
<a href="inference/index.html" id="index-link">
<div class="card text-center intro-card shadow">
<img src="../_static/images/bullseye.svg" class="card-img-top"
alt="reference guides icon" height="100"
>
<div class="card-body flex-fill">
<h5 class="card-title">Estimation</h5>
<p class="card-text">
Learn how to calculate different types of standard errors an do sensitivity analysis
</p>
</div>
</div>
</a>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 d-flex">
<a href="miscellaneous/index.html" id="index-link">
<div class="card text-center intro-card shadow">
<img src="../_static/images/miscellaneous.svg" class="card-img-top"
alt="installation icon" height="100"
>
<div class="card-body flex-fill">
<h5 class="card-title">Miscellaneous</h5>
<p class="card-text">
Learn how to create publication quality latex tables, use custom batch evaluators and check out the FAQ
</p>
</div>
</div>
</a>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<a href="../videos.html" id="index-link">
<div class="card text-center intro-card shadow" style="width: 100%;">
<img src="../_static/images/video.svg" class="card-img-top"
alt="video icon" height="60"
>
<div class="card-body flex-fill">
<h5 class="card-title">Videos</h5>
<p class="card-text">
Collection of tutorials, talks, and screencasts on estimagic.
</p>
</div>
</div>
</a>
</div>
</div>
</div>
``` -->

```{toctree}
---
hidden: true
Expand Down
Loading

0 comments on commit 487c25c

Please sign in to comment.