aleksandernitka / StatisticTools

Some helpful functions for the PhD data analysis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StatisticTools

Some helpful functions for the PhD data analysis.

Outlier labeling - outlierlbl.R

Simple function which takes in a vector of DVs and performs: (1) normality check using Shapiro-Wilk method (W) and (2) outlier labelling using method proposed by Hoaglin, Iglewicz and Tukey (1986), default outlier demarcation criterion of 2.2 as argued in Hoaglin and Iglewicz (1987).

David C. Hoaglin, Boris Iglewicz & John W. Tukey (1986) Performance of Some Resistant Rules for Outlier Labeling, Journal of the American Statistical Association, 81:396, 991-999, DOI: 10.1080/01621459.1986.10478363

Hoaglin, D., & Iglewicz, B. (1987) Fine-Tuning Some Resistant Rules for Outlier Labeling. Journal of the American Statistical Association, 82(400), 1147-1149. doi:10.2307/2289392

Cohen's D for t-test - os.cohend.R & ps.cohend.R

Simple functions for one-sample and paired sample Cohen's D calculation

One sample t-test writer - tt.os.R

Function runs normality test, t-test, effect size (D) and power calculation, returns copy-paste results.

About

Some helpful functions for the PhD data analysis


Languages

Language:R 100.0%