Skip to content

Commit 592faa0

Browse files
authored
Merge pull request #313 from QuantEcon/fix-mccall-cor
[mccall_correlated] Fix Standard Deviation Calculation
2 parents d3e0417 + 3e67571 commit 592faa0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lectures/kesten_processes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This lecture is accelerated via [hardware](status:machine-details) that has acce
2626
2727
Free GPUs are available on Google Colab. To use this option, please click on the play icon top right, select Colab, and set the runtime environment to include a GPU.
2828
29-
Alternatively, if you have your own GPU, you can follow the [instructions](https://github.com/google/jax#pip-installation-gpu-cuda) for installing JAX with GPU support.
29+
Alternatively, if you have your own GPU, you can follow the [instructions](https://github.com/google/jax) for installing JAX with GPU support.
3030
```
3131

3232
```{index} single: Linear State Space Models

lectures/mccall_correlated.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ class JobSearch:
207207
208208
# Set up grid
209209
z_mean = d / (1 - ρ)
210-
z_sd = np.sqrt(σ / (1 - ρ**2))
210+
z_sd = σ / np.sqrt(1 - ρ**2)
211211
k = 3 # std devs from mean
212212
a, b = z_mean - k * z_sd, z_mean + k * z_sd
213213
self.z_grid = np.linspace(a, b, grid_size)

lectures/mle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ involves specifying a class of distributions, indexed by unknown parameters, and
3535

3636
The benefit relative to linear regression is that it allows more flexibility in the probabilistic relationships between variables.
3737

38-
Here we illustrate maximum likelihood by replicating Daniel Treisman's (2016) paper, [Russia's Billionaires](https://pubs.aeaweb.org/doi/pdfplus/10.1257/aer.p20161068), which connects the number of billionaires in a country to its economic characteristics.
38+
Here we illustrate maximum likelihood by replicating Daniel Treisman's (2016) paper, [Russia's Billionaires](https://www.aeaweb.org/articles?id=10.1257/aer.p20161068), which connects the number of billionaires in a country to its economic characteristics.
3939

4040
The paper concludes that Russia has a higher number of billionaires than
4141
economic factors such as market size and tax rate predict.

0 commit comments

Comments
 (0)