-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpf.html
executable file
·67 lines (51 loc) · 1.78 KB
/
pf.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="en-US">
<meta name="keywords" content="Statistics, p value, F distribution" />
<meta charset="UTF-8" />
<head>
<title>P Value Calculator, F dist.</title>
<script src="statFunctions.js"></script>
<script src="canvas.js"></script>
<script src="pf.js"></script>
<link rel="stylesheet" href="pvals.css">
</head>
<body onload="init()">
<div id="wrapper">
<ul class="menu">
<li><a href="pnormal.html">Normal Distribution</a></li>
<li><a href="pchisq.html"><span class="greek">χ</span><sup>2</sup> Distribution</a></li>
<li><a href="pt.html">t Distribution</a></li>
<li class="active">F Distribution</li>
</ul>
<br />
<h1>P-Value Calculator for F Distribution</h1>
<br />
<form name="input" action="" method="get">
<p>Degree of freedom 1 (numerator) : <input type="number" id="df1" name="df1" min="1" step="1" /> </p>
<p>Degree of freedom 2 (denominator): <input type="number" id="df2" name="df2" min="1" step="1" /> </p>
<p>F-value: <input type="number" id="F" name="F" min="0" step="any" />
<input type="button" name="p value" value="Compute p-value"
onClick="PfromF_F(this.form)" /></p>
<p>p-value: <input type="number" id="p-value" name="p_value" step="any" />
<input type="button" name="F value" value="Compute F"
onClick="FfromP_F(this.form)" /></p>
<p>p-value type: <br />
<input onchange="changePtype(this.form,1)" type="radio" id="ptype1"
name="ptype1" value="1" checked="checked" />right tail<br />
<input onchange="changePtype(this.form,2)" type="radio" id="ptype2"
name="ptype2" value="2" />left tail</p>
</form>
<hr />
<p id="input"></p>
<p id="output"></p>
<p id="Rcommand"></p>
<br /> <br />
<canvas id="Fcurve" width="535" height="300">
CANVAS NOT SUPPORTED IN THIS BROWSER!
</canvas>
<br /> <br />
</div>
</body>
</html>