| Title: | Simplified Statistical Analysis with Plain-English Interpretation |
| Version: | 1.0.0 |
| Description: | A toolkit for common statistical analyses including descriptive statistics, Student's t-test (one-sample, independent, and paired), and one-way Analysis of Variance (ANOVA). Each function automatically interprets results in plain English, reporting effect sizes (Cohen's d, eta-squared), confidence intervals, and p-value interpretations. Post-hoc Tukey Honestly Significant Difference (HSD) tests are automatically applied following significant ANOVA results. A master function automatically detects the appropriate test based on the structure of the input data. Methods are based on Cohen, J. (1988) <doi:10.4324/9780203771587>, Tukey, J. W. (1949) <doi:10.2307/3001913>, and Shapiro and Wilk (1965) <doi:10.2307/2333709>. |
| License: | MIT + file LICENSE |
| Encoding: | UTF-8 |
| RoxygenNote: | 7.3.3 |
| URL: | https://github.com/DevWebWacky/statease |
| BugReports: | https://github.com/DevWebWacky/statease/issues |
| NeedsCompilation: | no |
| Packaged: | 2026-04-30 17:03:09 UTC; Wacky |
| Author: | Uwakmfon Paul [aut, cre, cph] |
| Maintainer: | Uwakmfon Paul <uwakmfon31@gmail.com> |
| Repository: | CRAN |
| Date/Publication: | 2026-05-05 13:50:02 UTC |
statease: Simplified Statistical Analysis with Plain-English Interpretation
Description
statease provides a suite of functions for performing common statistical analyses and automatically interpreting the results in plain English. It is designed for students, researchers, and educators who want fast, readable statistical output without sacrificing rigour.
Main Functions
analyzeMaster function — auto-detects and runs the right test
describeDescriptive statistics with interpretation
ttest_interpretT-tests (one-sample, independent, paired) with Cohen's d
anova_interpretOne-way ANOVA with Tukey post-hoc and eta squared
interpret_pStandalone p-value interpreter
Typical Workflow
The simplest way to use statease is through the master analyze()
function, which automatically detects what test to run based on your input:
# Descriptive statistics analyze(x = my_vector, var_name = "My Variable") # Independent samples t-test analyze(x = group1, y = group2, var_name = "Scores") # One-way ANOVA analyze(formula = score ~ group, data = my_df) # Interpret a p-value interpret_p(0.03, context = "treatment vs control")
Author(s)
Uwakmfon Usen Paul
See Also
Useful links:
Report bugs at https://github.com/DevWebWacky/statease/issues
Master Analysis Function - Auto-detects and runs the right test
Description
Master Analysis Function - Auto-detects and runs the right test
Usage
analyze(
x = NULL,
y = NULL,
data = NULL,
formula = NULL,
mu = 0,
paired = FALSE,
conf.level = 0.95,
var_name = "Variable"
)
Arguments
x |
A numeric vector (required always) |
y |
A numeric vector or factor/character group variable (optional) |
data |
A data frame (required if using a formula) |
formula |
A formula of the form outcome ~ group (optional) |
mu |
Hypothesised mean for one-sample t-test. Default 0. |
paired |
Logical. TRUE for paired t-test. Default FALSE. |
conf.level |
Confidence level. Default 0.95. |
var_name |
Optional label for the report. |
Value
A printed analysis report
Examples
# Descriptive only
analyze(x = c(23, 45, 12, 67, 34))
# Auto t-test
analyze(x = c(23,45,12,67,34), y = c(19,38,22,51,29))
# Auto ANOVA
df <- data.frame(
score = c(23,45,12,67,34,89,56,43,78,90,11,34),
group = rep(c("A","B","C"), each = 4)
)
analyze(formula = score ~ group, data = df)
One-Way ANOVA with Post-Hoc Tukey and Plain-English Interpretation
Description
One-Way ANOVA with Post-Hoc Tukey and Plain-English Interpretation
Usage
anova_interpret(formula, data, conf.level = 0.95)
Arguments
formula |
A formula of the form outcome ~ group |
data |
A data frame containing the variables |
conf.level |
Confidence level. Default 0.95 |
Value
An object of class statease_anova containing ANOVA
results, effect size, and post-hoc comparisons. Use print()
to display the formatted report.
Examples
df <- data.frame(
score = c(23,45,12,67,34,89,56,43,78,90,11,34),
group = rep(c("A","B","C"), each = 4)
)
result <- anova_interpret(score ~ group, data = df)
print(result)
Descriptive Statistics with Interpretation
Description
Descriptive Statistics with Interpretation
Usage
describe(x, var_name = "Variable")
Arguments
x |
A numeric vector |
var_name |
Optional name for the variable (used in the report) |
Value
An object of class statease_describe containing
descriptive statistics and interpretation. Use print() to
display the formatted report.
Examples
result <- describe(c(23, 45, 12, 67, 34, 89, 56))
print(result)
Standalone P-Value Interpreter
Description
Standalone P-Value Interpreter
Usage
interpret_p(p, alpha = 0.05, context = NULL)
Arguments
p |
A numeric p-value between 0 and 1 |
alpha |
Significance level. Default 0.05 |
context |
Optional string describing the test context |
Value
An object of class statease_pvalue containing the
p-value interpretation. Use print() to display the report.
Examples
result <- interpret_p(0.03)
print(result)
result2 <- interpret_p(0.12, alpha = 0.05, context = "treatment vs control")
print(result2)
T-Test with Plain-English Interpretation
Description
T-Test with Plain-English Interpretation
Usage
ttest_interpret(
x,
y = NULL,
mu = 0,
paired = FALSE,
conf.level = 0.95,
var_name = "Variable"
)
Arguments
x |
A numeric vector (group 1, or the only group for one-sample) |
y |
A numeric vector (group 2, for independent samples). Default NULL. |
mu |
Hypothesised mean for one-sample t-test. Default 0. |
paired |
Logical. TRUE for paired t-test. Default FALSE. |
conf.level |
Confidence level. Default 0.95. |
var_name |
Optional label for the report. Default "Variable" |
Value
An object of class statease_ttest containing test
results and interpretation. Use print() to display the
formatted report.
Examples
result <- ttest_interpret(c(23,45,12,67,34), c(19,38,22,51,29))
print(result)