-
-
Notifications
You must be signed in to change notification settings - Fork 118
Expand file tree
/
Copy pathprobDist.html
More file actions
65 lines (64 loc) · 3.9 KB
/
probDist.html
File metadata and controls
65 lines (64 loc) · 3.9 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
<!--
Project Name : Visual Python
Description : GUI-based Python code generator
File Name : propDist.html
Author : Black Logic
Note : probability distribution
License : GNU GPLv3 with Visual Python special exception
Date : 2023. 05. 16
Change Date :
-->
<body>
<div class="vp-grid-box">
<select id="distType" class="vp-big-select vp-state">
</select>
<div class="vp-grid-border-box">
<div class="vp-pd-dist-option-box vp-grid-col-160">
</div>
<hr style="margin: 5px 0;"/>
<div class="vp-grid-col-160">
<label for="action" class="vp-orange-text">Action</label>
<select id="action" class="vp-select l">
<option class="vp-pd-display-option dist cont" value="random-number">Generate random numbers</option>
<option class="vp-pd-display-option dist cont dist-plot" value="distribution-plot">Show distribution plot</option>
<option class="vp-pd-display-option cont" value="stats-to-pvalue">Statistics to P-value</option>
<option class="vp-pd-display-option cont" value="pvalue-to-stats">P-value to Statistics</option>
</select>
</div>
<div class="vp-grid-border-box vp-pd-action-box random-number">
<div class="vp-grid-col-160">
<label for="size" class="vp-orange-text">Size</label>
<input type="number" class="vp-input vp-state" id="size" value="10000" required/>
<label for="randomState">Random state</label>
<input type="number" class="vp-input vp-state" id="randomState"/>
<label for="allocateTo" class="vp-orange-text">Allocate to</label>
<input type="text" class="vp-input vp-state" id="allocateTo" value="samples" required/>
</div>
<label><input type="checkbox" id="sampledDist" class="vp-state" checked><span>Show sampled distribution</span></label>
</div>
<div class="vp-grid-border-box vp-pd-action-box distribution-plot" style="display:none;">
<label class="vp-pd-display-option dist"><input type="checkbox" id="probMassFunc" class="vp-state"><span>Probability mass function</span></label>
<label class="vp-pd-display-option cont"><input type="checkbox" id="probDensityFunc" class="vp-state"><span>Probability density function</span></label>
<label class="vp-pd-display-option cont"><input type="checkbox" id="cumDistFunc" class="vp-state"><span>Cumulative distribution function</span></label>
</div>
<div class="vp-grid-border-box vp-grid-col-160 vp-pd-action-box stats-to-pvalue" style="display:none;">
<label for="stats" class="vp-orange-text">Statistic</label>
<input type="number" class="vp-input vp-state" id="stats" required/>
<label for="pAlter">Alternative</label>
<select id="pAlter" class="vp-select vp-state">
<option value="one-sided">One-sided</option>
<option value="two-sided" selected>Two-sided</option>
</select>
</div>
<div class="vp-grid-border-box vp-grid-col-160 vp-pd-action-box pvalue-to-stats" style="display:none;">
<label for="pvalue" class="vp-orange-text">Proportional value</label>
<input type="number" class="vp-input vp-state" id="pvalue" required/>
<label for="statsAlter">Alternative</label>
<select id="statsAlter" class="vp-select vp-state">
<option value="one-sided">One-sided</option>
<option value="two-sided" selected>Two-sided</option>
</select>
</div>
</div>
</div>
</body>