Skip to content

Commit 08d6c24

Browse files
committed
updates
1 parent eb5dc78 commit 08d6c24

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

lectures/likelihood_ratio_process_2.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1316,6 +1316,21 @@ 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
13171317
set $h = \pi^f_0 f + (1-\pi^f_0) g$ (a mixture of $f$ and $g$).
13181318
1319+
Bayes' Law tells us that posterior probabilities on models $f$ and $g$ evolve according to
1320+
1321+
$$
1322+
\pi^f(s^t) := \frac{\pi^f_0 f(s^t)}{\pi^f_0 f(s^t)
1323+
+ \pi^g(s^t) g(s^t) + (1 - \pi^f_0 - \pi^g_0) h(s^t)}
1324+
$$
1325+
1326+
and
1327+
1328+
$$
1329+
\pi^g(s^t) := \frac{\pi^g_0 g(s^t)}{\pi^f_0 f(s^t)
1330+
+ \pi^g(s^t) g(s^t) + (1 - \pi^f_0 - \pi^g_0) h(s^t)}
1331+
$$
1332+
1333+
13191334
Simulate and visualize the evolution of consumption allocations when:
13201335
* Nature permanently draws from $f$
13211336
* Nature permanently draws from $g$
@@ -1557,7 +1572,7 @@ In other words, the model penalizes complexity and rewards accuracy.
15571572
```{exercise}
15581573
:label: lr_ex7
15591574
1560-
Two agents with extreme priors about three models.
1575+
Now consider two agents with extreme priors about three models.
15611576
15621577
Consider the same setup as the previous exercise, but now:
15631578
* Agent 1: $\pi^g_0 = \pi^f_0 = \frac{\epsilon}{2} > 0$, where $\epsilon$ is close to $0$ (e.g., $\epsilon = 0.01$)

0 commit comments

Comments
 (0)