You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lectures/imp_sample.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ jupytext:
4
4
extension: .md
5
5
format_name: myst
6
6
format_version: 0.13
7
-
jupytext_version: 1.16.6
7
+
jupytext_version: 1.17.1
8
8
kernelspec:
9
9
display_name: Python 3 (ipykernel)
10
10
language: python
@@ -19,7 +19,7 @@ kernelspec:
19
19
20
20
## Overview
21
21
22
-
In {doc}`this lecture <likelihood_ratio_process>` we described a peculiar property of a likelihood ratio process, namely, that its mean equals one for all $t \geq 0$ despite its converging to zero almost surely.
22
+
In {doc}`likelihood_ratio_process` we described a peculiar property of a likelihood ratio process, namely, that its mean equals one for all $t \geq 0$ despite its converging to zero almost surely.
23
23
24
24
While it is easy to verify that peculiar property analytically (i.e., in population), it is challenging to use a computer simulation to verify it via an application of a law of large numbers that entails studying sample averages of repeated simulations.
25
25
@@ -37,11 +37,14 @@ import matplotlib.pyplot as plt
37
37
from jax.scipy.special import gammaln
38
38
from typing import NamedTuple
39
39
from functools import partial
40
+
41
+
# Set JAX to use 64-bit floats
42
+
jax.config.update("jax_enable_x64", True)
40
43
```
41
44
42
45
## Mathematical expectation of likelihood ratio
43
46
44
-
In {doc}`this lecture <likelihood_ratio_process>`, we studied a likelihood ratio $\ell \left(\omega_t\right)$
47
+
In {doc}`likelihood_ratio_process`, we studied a likelihood ratio $\ell \left(\omega_t\right)$
0 commit comments