|
14 | 14 | %
|
15 | 15 | % TESTTYPE can be:
|
16 | 16 | %
|
17 |
| -% 't2' (default) : two-sample unpaired t-test |
| 17 | +% 't2' : two-sample unpaired t-test |
18 | 18 | %
|
19 |
| -% 't' : paired t-test or one-sample t-test |
| 19 | +% 't' : paired t-test or one-sample t-test |
20 | 20 | %
|
21 |
| -% 'z2' (default) : two-sample unpaired z-test (Normal approximation) |
| 21 | +% 'z2' : two-sample unpaired z-test (Normal approximation) |
22 | 22 | %
|
23 |
| -% 'z' : paired z-test or one-sample z-test (Normal approximation) |
| 23 | +% 'z' : paired z-test or one-sample z-test (Normal approximation) |
24 | 24 | %
|
25 |
| -% 'r' : significance test for correlation |
| 25 | +% 'r' : significance test for correlation |
26 | 26 | %
|
27 | 27 | % EFFSZ can be numeric value corresponding to the standardized effect
|
28 |
| -% size: Cohen's d or h (when TESTTYPE is 't2', 't', 'z' or 'z'), or |
| 28 | +% size: Cohen's d or h (when TESTTYPE is 't2', 't', 'z2' or 'z'), or |
29 | 29 | % Pearson's correlation coefficient (when TESTTYPE is 'r'). For
|
30 | 30 | % convenience, EFFSZ can also be one of the following strings:
|
31 | 31 | %
|
32 |
| -% 'small' : which is 0.2 for Cohen's d (or h), or 0.1 for Pearson's r. |
| 32 | +% 'small' : which is 0.2 for Cohen's d (or h), or 0.1 for Pearson's r. |
33 | 33 | %
|
34 | 34 | % 'medium' : which is 0.5 for Cohen's d (or h), or 0.3 for Pearson's r.
|
35 | 35 | %
|
36 |
| -% 'large' : which is 0.8 for Cohen's d (or h), or 0.5 for Pearson's r. |
| 36 | +% 'large' : which is 0.8 for Cohen's d (or h), or 0.5 for Pearson's r. |
37 | 37 | %
|
38 | 38 | % 'N = sampszcalc (TESTTYPE, EFFSZ, POW)' also sets the desired power of
|
39 | 39 | % the test. The power corresponds to 1 - beta, where beta is the type II
|
|
0 commit comments