-
Notifications
You must be signed in to change notification settings - Fork 9
/
document.html
50 lines (43 loc) · 2.02 KB
/
document.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>AB Statistics Document</title>
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="ab-stats.css">
</head>
<body>
<div class="vcenter">
<div class="container">
<div class="row">
<div class="col-md-offset-2 col-md-8">
<h1>Design of experiments</h1>
<p class="lead">Statistical foundations for causal inference</p>
<h2>Nothing to see here</h2>
<p>There is nothing to see here, because I haven't written the document yet.</p>
<h2>Rubin causal model</h2>
<div class="well" id="app-rubin-ate">
<div class="text-center"><button class="btn btn-default btn-xs" @click="EventBus.$emit('fragmentMethod', { id: 'app-rubin-ate', method: 'toggle_repeat'});">toggle simulation</button></div>
<rubin-model sample_name="Sample" randomize display_ate></rubin-model>
</div>
<h2>Expectation</h2>
<div class="well" id="app-expectation">
<div class="text-center"><button class="btn btn-default btn-xs" @click="EventBus.$emit('fragmentMethod', { id: 'app-expectation', method: 'toggle_repeat'});">toggle simulation</button></div>
<simulation v-bind:effect="0.1" display_true_effect display_observed_effect></simulation>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="d3/d3.js"></script>
<script type="text/javascript" src="vue/vue.min.js"></script>
<script type="text/javascript" src="vue-components.js"></script>
<script type="text/javascript">
const EventBus = new Vue();
new Vue({ el: '#app-rubin-ate' });
new Vue({ el: '#app-expectation' });
</script>
</body>
</html>