-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstudentt.html
52 lines (39 loc) · 1.86 KB
/
studentt.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head>
<title>Student's t distribution</title>
<meta name="viewport" content="width=device-width">
<link type="text/css" rel="stylesheet" media="screen" href="./css/page.css">
<link type="text/css" rel="stylesheet" media="screen" href="./css/chart.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/noUiSlider/14.6.3/nouislider.min.css"/>
<script src="https://d3js.org/d3.v6.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/noUiSlider/14.6.3/nouislider.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/wnumb/1.2.0/wNumb.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jstat@latest/dist/jstat.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS_HTML&delayStartupUntil=configured"></script>
<script src="./js/mathjax_config.js"></script>
</head>
<body>
<div class="container">
<h1>Student's t distribution</h1>
<p class="description" style="color:black">
Use the slider to increase the <font color="red"><strong>t distribution</strong></font>'s degree of freedom ($\nu$).
</p>
<p class="description" style="color:black">
See how the <font color="red"><strong>t distribution</strong></font> approaches the <font color="green"><strong>standard normal distribution</strong></font>.
</p>
<div id="chart"></div>
<div class="controls">
<div class="slider-label">$\nu$</div>
<div id="slider_0"></div>
</div>
</div>
</body>
<script src="./js/dist/studentt.js"></script>
<script src="./js/chart_config.js"></script>
<script src="./js/rand.js"></script>
<script src="./js/chart_function.js"></script>
<script src="./js/interact.js"></script>
<script>plot_line("normal", "continuous", [0, 1], ref=true);</script> <!-- add standard normal dist -->
</html>