Package 'GroupComparisons'

Title: Paired/Unpaired Parametric/Non-Parametric Group Comparisons
Description: Receives two vectors, computes appropriate function for group comparison (i.e., t-test, Mann-Whitney; equality of variances), and reports the findings (mean/median, standard deviation, test statistic, p-value, effect size) in APA format (Fay, M.P., & Proschan, M.A. (2010)<DOI: 10.1214/09-SS051>).
Authors: Aaron England <[email protected]>
Maintainer: Aaron England <[email protected]>
License: MIT + file LICENSE
Version: 0.1.0
Built: 2024-12-07 06:45:13 UTC
Source: CRAN

Help Index


Paired Parametric/Non-Parametric Group Comparisons

Description

Receives two vectors, computes appropriate function for paired group comparison (t-test, Mann-Whitney), and reports the findings (mean/median, standard deviation, test statistic, p-value, effect size) in APA format (Field, A. (2013). Discovering statistics using IBM SPSS statistics. New York, NY: SAGE.).

Usage

Group_Comparison_Paired(vec1, vec2)

Arguments

vec1

A vector of numbers

vec2

A vector of numbers

Value

This function returns a sentence summarizing the findings and reporting them in APA format (effect size included)

Examples

dt <- mtcars
vector1 <- dt$mpg
vector2 <- dt$hp
Group_Test <- Group_Comparison_Paired(vector1, vector2)
Group_Test

Unpaired Parametric/Non-Parametric Group Comparisons

Description

Receives two vectors, computes best function for unpaired group comparison (t-test, Mann-Whitney), and reports the findings (mean/median, standard deviation, test statistic, p-value, effect size) in APA format (Field, A. (2013). Discovering statistics using IBM SPSS statistics. New York, NY: SAGE.).

Usage

Group_Comparison_Unpaired(vec1, vec2)

Arguments

vec1

A vector of numbers

vec2

A vector of numbers

Value

This function returns a sentence summarizing the findings and reporting them in APA format (effect size included)

Examples

dt <- mtcars
vector1 <- dt$mpg
vector2 <- dt$hp
Group_Test <- Group_Comparison_Unpaired(vector1, vector2)
Group_Test