Skip to content

Commit ad11912

Browse files
committed
minor corrections to documentation
1 parent c8b9f41 commit ad11912

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

inst/sampszcalc.m

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@
1414
%
1515
% TESTTYPE can be:
1616
%
17-
% 't2' (default) : two-sample unpaired t-test
17+
% 't2' : two-sample unpaired t-test
1818
%
19-
% 't' : paired t-test or one-sample t-test
19+
% 't' : paired t-test or one-sample t-test
2020
%
21-
% 'z2' (default) : two-sample unpaired z-test (Normal approximation)
21+
% 'z2' : two-sample unpaired z-test (Normal approximation)
2222
%
23-
% 'z' : paired z-test or one-sample z-test (Normal approximation)
23+
% 'z' : paired z-test or one-sample z-test (Normal approximation)
2424
%
25-
% 'r' : significance test for correlation
25+
% 'r' : significance test for correlation
2626
%
2727
% 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
2929
% Pearson's correlation coefficient (when TESTTYPE is 'r'). For
3030
% convenience, EFFSZ can also be one of the following strings:
3131
%
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.
3333
%
3434
% 'medium' : which is 0.5 for Cohen's d (or h), or 0.3 for Pearson's r.
3535
%
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.
3737
%
3838
% 'N = sampszcalc (TESTTYPE, EFFSZ, POW)' also sets the desired power of
3939
% the test. The power corresponds to 1 - beta, where beta is the type II

0 commit comments

Comments
 (0)