-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathanova.slim
111 lines (92 loc) · 5.11 KB
/
anova.slim
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
div id='anova-home'
markdown:
---
## Partial eta-squared (Fixed effects)
### Inputs
table cellpadding='10' align='center'
tr align='right'
td
| <i>F</i>-value:
input type='number' class='data-fixed-effects' name='f' required='true' min=0 placeholder='Greater than 0' tabindex=4 step='any'
td
| Confidence Interval:
input type='number' class='data-fixed-effects' name='conf_int' required='true' value='90' min=0 max=99.9 placeholder='Between 0 and 100%' tabindex=4 step='any'
| %
tr align='right'
td
| Numerator degrees of freedom:
input type='number' class='data-fixed-effects' name='df_effect' required='true' min=1 placeholder='Greater than 0' tabindex=4 step='any'
td
| Denominator degrees of freedom:
input type='number' class='data-fixed-effects' name='df_error' required='true' min=2 placeholder='Greater than 1' tabindex=4 step='any'
tr
td align='right'
button type='submit' id='fixed_effects_btn' name='fixed_effects_btn' tabindex=4 onClick='fixedEffectsBtnClick()' Calculate
td align='left'
button type='reset' tabindex=4 onClick="clearInputs('data-fixed-effects')" Clear
p It is recommended that you use the <b>90% CI</b> if you have an alpha level of 5%.
div
p class='result-fixed-effects' id='fixed_effects_inputs' name=':inputs'
p class='result-fixed-effects' id='fixed_effects_warning' name=':warning'
div id="form4"
markdown:
### Results (CI using noncentral _F_ distribution)
table cellpadding='10' align='center'
tr align='right'
td
a href="#form4" onclick="toggler(4)" title="Click for formula"
| Partial eta-squared:
|  
input type='number' class='result-fixed-effects' name=':partial_eta_sq' readonly='true' tabindex=-1
td
| Lower limit on partial eta-squared:
input type='number' class='result-fixed-effects' name=':lower_limit_eta' readonly='true' tabindex=-1
tr align='right'
td
a href="#form4" onclick="toggler(4)" title="Click for formula"
| Partial omega-squared:
|  
input type='number' class='result-fixed-effects' name=':partial_ome_sq' readonly='true' tabindex=-1
td
| Upper limit on partial eta-squared:
input type='number' class='result-fixed-effects' name=':upper_limit_eta' readonly='true' tabindex=-1
tr align='right'
td
a href="#form4" onclick="toggler(4)" title="Click for formula"
| Cohen's <i>f</i>:
|  
input type='number' class='result-fixed-effects' name=':cohens_f' readonly='true' tabindex=-1
td
| Lower limit on Cohen's <i>f</i>:
input type='number' class='result-fixed-effects' name=':lower_limit_cohens_f' readonly='true' tabindex=-1
tr align='right'
td
td
| Upper limit on Cohen's <i>f</i>:
input type='number' class='result-fixed-effects' name=':upper_limit_cohens_f' readonly='true' tabindex=-1
tr
td align='center' colspan=2
button type='reset' tabindex=4 onClick="clearInputs('result-fixed-effects')" Clear
div id='text-area-4' style='display:none'
markdown:
#### Formula
p
img src="equations/anova_eta2.png"/
p
img src="equations/anova_omega2.png"/
/ 
/
/ 
markdown:
where _F_ is the _F_-statistic, and _df_1_ and _df_2_ are the numerator and denominator degrees of freedom respectively.
img src="equations/anova_f.png"/
/ 
markdown:
Lower and upper limits on Cohen's _f_ use the same formula for _f_ on lower and upper limits of partial eta-squared.
See [here](https://github.com/stonegold546/cohens_d_calculators/blob/master/README.md#anova){:target="_blank"} for additional details.
p name=':warning'
| Partial eta-squared and omega-squared calculated here should only be interpreted if all your factors are manipulated not observed (such as gender), and you have no covariates.
br Additionally, the confidence intervals produced here will differ from the confidence intervals produced in the OLS section. The calculation for the intervals returned here assumes the predictors are planned/fixed as in an experiment.
markdown:
___
script src='anova.js'