-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
23 lines (23 loc) · 1.29 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="./css/style.css">
<title>Markov Chain Monte Carlo Demo</title>
</head>
<body>
<div class="parent">
<div>
<h4>Markov Chain Monte Carlo: Simulating the Normal Distribution</h4>
<p>Markov Chain Monte Carlo (MCMC) is a strategy for simulating some target distribution when sampling directly from the distribution is difficult. For ergodic (irreducible and aperiodic) Markov Chains, the distribution of realizations from the Markov Chain will converge to the stationary distribution as the number of realizations increases. MCMC tries to construct a Markov Chain with a stationary distribution that is the same as the target distribution. In this toy example, we use the Metropolis Hastings algorithm backed by a random walk to simulate the standard normal distribution.</p>
</div>
<div id="chart"></div>
<div id="hist"></div>
</div>
<script src="./js/jstat.min.js"></script>
<script src="./js/d3.v5.min.js"></script>
<script src="./js/script.js"></script>
</body>
</html>