Skip to content

Commit a5ada58

Browse files
Tom's August 21 edits of Humphrey's two new exercises
1 parent 08d6c24 commit a5ada58

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lectures/likelihood_ratio_process_2.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,13 +1308,13 @@ Assume $f(x) \geq 0$, $g(x) \geq 0$, and $h(x) \geq 0$ for $x \in X$ with:
13081308
13091309
We'll consider two agents:
13101310
* Agent 1: $\pi^g_0 = 1 - \pi^f_0$, $\pi^f_0 \in (0,1), \pi^h_0 = 0$
1311-
(believes only in models $f$ and $g$)
1311+
(attaches positive probability only to models $f$ and $g$)
13121312
* Agent 2: $\pi^g_0 = \pi^f_0 = 1/3$, $\pi^h_0 = 1/3$
1313-
(equally weights all three models)
1313+
(attaches equal weights to all three models)
13141314
13151315
Let $f$ and $g$ be two beta distributions with $f \sim \text{Beta}(1, 1)$ and
13161316
$g \sim \text{Beta}(3, 1.2)$, and
1317-
set $h = \pi^f_0 f + (1-\pi^f_0) g$ (a mixture of $f$ and $g$).
1317+
set $h = \pi^f_0 f + (1-\pi^f_0) g$.
13181318
13191319
Bayes' Law tells us that posterior probabilities on models $f$ and $g$ evolve according to
13201320
@@ -1448,7 +1448,7 @@ def simulate_three_model_allocation(s_seq, f_func, g_func, h_func,
14481448
return c1_share, π_f_1_seq, π_g_1_seq, π_h_1_seq, π_f_2_seq, π_g_2_seq, π_h_2_seq
14491449
```
14501450

1451-
The following code cell defines a plotting function to show the convergence of beliefs and consumption ratio
1451+
The following code cell defines a plotting function to show evolutions of beliefs and consumption ratios
14521452

14531453
```{code-cell} ipython3
14541454
:tags: [hide-input]
@@ -1529,7 +1529,7 @@ def plot_three_model_results(c1_data, π_data, nature_labels, λ=0.5,
15291529

15301530
Now let's run the simulation.
15311531

1532-
In our simulation, agent 1 believes only in $f$ and $g$, while agent 2 has an equal weight on all three models
1532+
In our simulation, agent 1 assigns positive probabilities only to $f$ and $g$, while agent 2 puts equal weights on all three models
15331533

15341534
```{code-cell} ipython3
15351535
T = 100

0 commit comments

Comments
 (0)