「Statistical test」の版間の差分
ナビゲーションに移動
検索に移動
Vaccipedia.admin (トーク | 投稿記録) |
Vaccipedia.admin (トーク | 投稿記録) |
||
63行目: | 63行目: | ||
|- | |- | ||
!rowspan="3"|2 means | !rowspan="3"|2 means | ||
− | | | + | |
− | ''Enough large sample'' | + | |''Enough large sample'' |
*'''Z test''' | *'''Z test''' | ||
::<math> | ::<math> | ||
72行目: | 72行目: | ||
\end{align} | \end{align} | ||
</math> | </math> | ||
+ | |||
|rowspan="3" style="vertical-align:top"| | |rowspan="3" style="vertical-align:top"| | ||
*'''Paired Student's t test''' | *'''Paired Student's t test''' | ||
81行目: | 82行目: | ||
</math> | </math> | ||
::where <math>\bar{d}</math> is the mean of differences of paired observations | ::where <math>\bar{d}</math> is the mean of differences of paired observations | ||
+ | |||
|rowspan="3" style="vertical-align:top"| | |rowspan="3" style="vertical-align:top"| | ||
*'''Wilcoxon rank sum test'''<br>='''Mann-Whitney test''' | *'''Wilcoxon rank sum test'''<br>='''Mann-Whitney test''' | ||
88行目: | 90行目: | ||
:#To look up ''critical range'' relevant to both numbers of observations and whether '''the sum of ranks''' in '''the group of smaller number of observation''' (=statistics) is outside the range or not | :#To look up ''critical range'' relevant to both numbers of observations and whether '''the sum of ranks''' in '''the group of smaller number of observation''' (=statistics) is outside the range or not | ||
::if outside the range, p-value is smaller than designated | ::if outside the range, p-value is smaller than designated | ||
+ | |||
|rowspan="3" style="vertical-align:top"| | |rowspan="3" style="vertical-align:top"| | ||
*'''Wilcoxon signed rank test''' | *'''Wilcoxon signed rank test''' | ||
95行目: | 98行目: | ||
:#To look up '''critical value''' relevant to numbers of pairs with non-0 differences and whether '''the smaller sum of rank''' (=statistics) is smaller than the critical value | :#To look up '''critical value''' relevant to numbers of pairs with non-0 differences and whether '''the smaller sum of rank''' (=statistics) is smaller than the critical value | ||
::if smaller than the critical value, p-value is smaller than designated | ::if smaller than the critical value, p-value is smaller than designated | ||
+ | |||
|- | |- | ||
|''Small sample size <30 in a group'' | |''Small sample size <30 in a group'' | ||
104行目: | 108行目: | ||
\end{align} | \end{align} | ||
</math> | </math> | ||
+ | |||
|- | |- | ||
|''Large discrepancy in SDs between groups'' | |''Large discrepancy in SDs between groups'' | ||
110行目: | 115行目: | ||
*Fisher-Behrens | *Fisher-Behrens | ||
*Welch | *Welch | ||
+ | |||
|- | |- | ||
!≥ 3 means | !≥ 3 means | ||
|style="vertical-align:top"| | |style="vertical-align:top"| | ||
*'''One-way ANOVA''' | *'''One-way ANOVA''' | ||
+ | ::<math> | ||
+ | \begin{align} | ||
+ | F & = \frac{ \sum_{j=1}^k \sum_{j=1}^{n_j} (x_{ij}-\bar{x_j})^2 }{ k-1 } \\ | ||
+ | & \div \frac{ \sum_{j=1}^k (\bar{x_j}-\bar{x})^2 }{ n-k } | ||
+ | \end{align} | ||
+ | </math> | ||
+ | ::<math>n</math> is sample size (whole combined number of observations) | ||
+ | ::<math>k</math> is number of groups | ||
+ | |||
+ | <!-- | ||
+ | ::The variance of whole combined observations is | ||
+ | ::<math>s^2=\frac{\sum_{i=1}^n (x_i-\bar{x})^2}{n-1}</math> | ||
+ | ::The numarator is ''sum of square'' | ||
+ | ::<math>\sum_{i=1}^n (x_i-\bar{x})^2</math> | ||
+ | ::<math>= \sum_{i=1}^n x_i^2 - 2\bar{x} \sum_{i=1}^n x_i + \bar{x}^2 \sum_{i=1}^n 1</math> | ||
+ | --!> | ||
+ | |||
|style="vertical-align:top"| | |style="vertical-align:top"| | ||
*'''Linear-regression model''' | *'''Linear-regression model''' | ||
*Repeated measures ANOVA | *Repeated measures ANOVA | ||
+ | |||
|style="vertical-align:top"| | |style="vertical-align:top"| | ||
*'''Kruskall-Wallis test''' | *'''Kruskall-Wallis test''' |
2022年12月12日 (月) 00:25時点における版
Comparing Proportions
Independent samples (Unpaired in case of two) |
Dependent samples (Paired in case of two) | |
---|---|---|
2 proportions |
|
|
≥ 3 proportions | Enough large sample
|
|
Testing linear association
| ||
≥1 cell expected value <5
Fisher's exact test
|
Comparing Means
Parametric i.e., normally distributed |
Non-parametric i.e., not normally distributed | |||
---|---|---|---|---|
Independent samples (Unpaired in case of two) |
Dependent samples (Paired in case of two) |
Independent samples (Unpaired in case of two) |
Dependent samples (Paired in case of two) | |
2 means | Enough large sample
|
|
|
|
Small sample size <30 in a group
| ||||
Large discrepancy in SDs between groups
| ||||
≥ 3 means |
|