We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6d17107 + 5a73997 commit b5088a3Copy full SHA for b5088a3
lectures/tools_and_techniques/stationary_densities.md
@@ -822,16 +822,15 @@ Use the same parameters.
822
823
For the four initial distributions, use the beta distribution and shift the random draws as shown below
824
825
-```{code-block} none
826
-```
+```{code-block} julia
+ψ_0 = Beta(5.0, 5.0) # Initial distribution
827
+n = 1000
828
+# .... more setup
829
-> ψ_0 = Beta(5.0, 5.0) # Initial distribution
-> n = 1000
830
-> # .... more setup
831
->
832
-> for i in 1:4
833
-> # .... some code
834
-> rand_draws = (rand(ψ_0, n) .+ 2.5i) ./ 2
+for i in 1:4
+ # .... some code
+ rand_draws = (rand(ψ_0, n) .+ 2.5i) ./ 2
+```
835
836
(statd_ex3)=
837
### Exercise 3
0 commit comments