-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHypothesisTesting.html
More file actions
88 lines (79 loc) · 3.18 KB
/
HypothesisTesting.html
File metadata and controls
88 lines (79 loc) · 3.18 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html>
<head>
<title>Hypothesis Test</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="animation.css">
<link rel="icon" href="mathsymbolsnobg.png" type="image/png">
</head>
<body>
<button onclick="window.location.href = 'index.html'">Dashboard</button>
<div class="container">
<div class="calculator">
<h2>Hypothesis Testing</h2>
<form id="hypothesisTestForm">
<label for="sampleMean">Sample Mean:</label>
<input type="number" id="sampleMean" required>
<br><br>
<label for="populationMean">Population Mean:</label>
<input type="number" id="populationMean" required>
<br><br>
<label for="sampleStdDev">Sample Standard Deviation:</label>
<input type="number" id="sampleStdDev" required>
<br><br>
<label for="sampleSize">Sample Size:</label>
<input type="number" id="sampleSize" required>
<br><br>
<label for="significanceLevel">Significance Level:</label>
<select id="significanceLevel" required>
<option value="0.01">1%</option>
<option value="0.05">5%</option>
<option value="0.10">10%</option>
</select>
<br><br>
<button type="submit" onclick="performHypothesisTest()">Perform Hypothesis Test</button>
</form>
<div id="result"></div>
<br><br>
<a href="#" class="custom-link" onclick="showPopup()">Check Formula</a>
<div id="popup" class="popup">
<h2>Hypothesis Test</h2>
<table style="border-collapse: collapse; width: 100%;">
<tr>
<th style="padding: 10px; border: 3px solid #000000;"></th>
<th style="padding: 10px; border: 3px solid #000000;">Null hypothesis is TRUE</th>
<th style="padding: 10px; border: 3px solid #000000;">Null hypothesis is FALSE</th>
</tr>
<tr>
<td style="padding: 10px; border: 3px solid #000000;">Reject the null hypothesis</td>
<td style="padding: 10px; border: 3px solid #000000;background-color: #e72019">Type I Error (False positive)</td>
<td style="padding: 10px; border: 3px solid #000000;background-color: #2ae719">Correct outcome! (True positive)</td>
</tr>
<tr>
<td style="padding: 10px; border: 3px solid #000000;">Fail to reject null hypothesis</td>
<td style="padding: 10px; border: 3px solid #000000;background-color: #2ae719">Correct outcome! (True negative)</td>
<td style="padding: 10px; border: 3px solid #000000;background-color: #e72019">Type II Error (False negative)</td>
</tr>
</table>
<button onclick="closePopup()">Close</button>
</div>
</div>
</div>
<!--Animation Background Design-->
<div class="area">
<ul class="circles">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
<script src="HypothesisTesting.js"></script>
</body>
</html>