hypothesisTests: perform hypothesis test based on variable type

Description Usage Arguments Details

Description

perform hypothesis test based on variable type

Usage

1

Arguments

data

input dataset (all variables of a given dataset must be of the same type)

group

string stating the column name of the grouping variable

Details

This function performs either a parametric (linear model) or non-parametric test (Wilcoxon or Kruskal-Wallis) for continuous data, or the Chi-Square test for categorical variables. The diagnostic assumptions of linear models are assessed using global statistic that assessing the four assumptions of linear models (skewness, kurtosis, link function, homoscadasticity (based on a test for heteroscadasticity)) based on the gvlma R-library, https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2820257/).


singha53/amritr documentation built on July 21, 2019, 3:46 p.m.