Stats.StandardANOVAPractice: Workflow of standard Analysis-of-variace practice

Description Usage Arguments

Description

We test for difference in risk factors between the cohort groups. If the data passes both normality check and homogeneity check, we used one-way ANOVA test. If the data passes normality check but fails homogeneity check, we used Welch's one-way test. If the data fails normality check, we used Kruskal-Wallis test. Then, we use Tukey test to discover the pairs of cohorts that have significant difference.

Usage

1
2
Stats.StandardANOVAPractice(y, x, observe = TRUE, Thres.Normality = 0.05,
  Thres.Homogeneity = 0.05, Thres.Decision = 0.05)

Arguments

y

vector of Groups, must be a factor

x

matrix or data frame of measures, should include column names

observe

if TRUE, wait for user to press enter through each step


minh2182000/MToolBox documentation built on May 8, 2019, 3:14 a.m.