Statistical tests

Paired or matched observations

Paired observation은 같은 값의 비교를 의미한다. 예를 들어 혈압력 복용 전/후의 혈압과 같이, 동일한 사람에 대한 동일한 혈압의 측정치를 비교하는 경우를 의미한다.

VariableTest
nominalMcNemar’s
OrdinalWilcoxon
Quantitative (non-normal)Wilcoxon
Quantitative (Normal)paired t-test

Independent observations

하나의 sample에 대해서 두 개 이상의 변수 값을 측정하였을 때, 두 변수가 독립적인지 검증한다. 예를 들어 식단의 당지수와 식사 직후 혈당와 같은 두 변수가 서로 독립적인지 검증 할 수 있다.

nominal (n=2)nominal (n>2)ordinal
(quantitative discrete)
Quantitative
(Non-normal)
Quantitative
(Normal)
nominal (n=2)Chi2 or Fisher’sChi2Mann-WhitneyMann-WhitneyStudent’s t-test
nominal (n>2)Chi2Chi2Kruskal-WallisKruskal-WallisANOVA
ordinal
(quantitative discrete)
Mann-WhitneySpearman
rank
Spearman rankSpearman rank
(*) Linear regression
Quantitative (non-normal)(*) Logistic regressionSpearman rankSpearman rank
(*) Linear regression
Quantitative (normal)(*) Logistic regression(*) Linear regressionPearson
(*) Linear regression
Colume: output variable (measurement), Row: input variable (conditions)

Test for normality

Check normality of a variable before applying statistical methods assuming normal distribution.

Quantile plot

Goodness-of-Fit test

Anderson-Darling test

scipy.stats.anderson(x, dist='norm')

Tests

  • ANOVA
  • ANCOVA (with covariate effect)
  • MANOVA
  • MANCOVA (with covariate effect)

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top