EasyStat 2.1.0
Changes
easy_ttest()now defaults tovar.equal = TRUE(the classical pooled-variance t-test). Passvar.equal = FALSEto use Welch’s t-test instead.easy_ttest()accepts a categorical/numeric pair in any order (e.g.easy_ttest(group, outcome)oreasy_ttest(outcome, group)) and reshapes it into the standardoutcome ~ groupcomparison automatically.Fixed a bug where
easy_ttest()crashed on a one-sample test (xnumeric, noy) becausebroom::tidy()returnsestimaterather thanestimate1for one-samplet.test()objects.
Reporting improvements
Test statistics (
t,z,F,χ²) are now reported as absolute values acrosseasy_ttest(),easy_ztest(),easy_ftest(),easy_anova(),easy_chisq(), andeasy_correlation(), since their sign is an artifact of argument order rather than meaningful direction.Mean differences in
easy_ttest()andeasy_ztest()are now reported as larger − smaller and are always non-negative; the accompanying confidence interval is recomputed in the same direction so its bounds no longer appear sign-flipped relative to the point estimate.easy_ttest()now reports both the degrees of freedom actually used (Welch or pooled, depending onvar.equal) and the equal-variance degrees of freedom (n1 + n2 - 2) side by side, along with explicitn1/n2sample sizes and a “Variance Assumption” label.easy_ztest()two-sample table now also reportsn1/n2.Variable names inferred from expressions like
mtcars$mpgordata[["mpg"]]are now cleaned to justmpgin result tables and plot labels (easy_ttest(),easy_ztest(),easy_ftest(),easy_correlation(),easy_chisq(),easy_wilcox(),easy_describe(), and theeasy_*plot functions).
EasyStat 2.0.0
CRAN release: 2026-04-29
New Features
Added
easy_logistic_regression()for binary logistic regression with odds ratios, approximate odds-ratio confidence intervals, likelihood-ratio model tests, McFadden pseudo-R2, and automated narrative reporting.-
Added richer supporting tables:
- ANOVA now includes group descriptives, assumption checks, and Tukey post-hoc comparisons.
- Chi-square tests now include observed contingency tables, expected counts, row percentages, column percentages, and total percentages.
- Regression now includes ANOVA, diagnostic, and influential-observation tables.
Added
easy_wilcox()andeasy_kruskal()for common non-parametric workflows.Added regression figures:
easy_regression_diagnostics()andeasy_odds_ratio_plot().Added comprehensive descriptive statistics:
easy_describe()andeasy_group_summary()with 21 statistics per variable (mean, median, mode, SD, variance, skewness, kurtosis, normality test, CI, and more).-
Extended inferential test suite with four new functions:
-
easy_chisq(): Chi-square test of independence and goodness-of-fit, with Cramér’s V effect size. -
easy_ztest(): One- and two-sample z-tests with Cohen’s d. -
easy_ftest(): Levene-style F-test for equality of variances viastats::var.test(), with variance ratio CI. -
easy_correlation(): Pearson/Spearman/Kendall bivariate and pairwise matrix correlation with confidence intervals.
-
-
New visualization functions (all return
easystat_resultobjects with plain-language interpretations):-
easy_histogram(): distribution histogram with normal-curve overlay. -
easy_boxplot(): grouped box-and-whisker plots with outlier marking. -
easy_scatter(): scatter plot with regression line and R-squared label. -
easy_barplot(): count or mean (+/- SE) bar charts with group support. -
easy_qqplot(): Q-Q normality plot. -
easy_density(): kernel density curve, optionally grouped. -
easy_correlation_heatmap(): annotated pairwise correlation heatmap. -
easy_autoplot(): smart dispatcher that picks the right plot type for a giveneasystat_result.
-
New theme:
theme_easystat()— a professional ggplot2 theme and color system applied uniformly across all visualization functions.Word export:
export_to_word()creates a fully formatted.docxreport (viaflextableandofficer) with title, authors, narrative, and tables.
Improvements
- User-facing p-values now display as percentages rounded to 4 decimal places across result tables, plot summaries, and narrative text.
- Narrative Generator Module expanded with 15 conditional narrative templates covering all new test and plot types.
- All functions return a unified
easystat_resultS3 object with consistent fields:test_type,formula_str,raw_model,coefficients_table,model_fit_table, andexplanation. - HTML Viewer output (
print.easystat_result) redesigned with improved typography and responsive layout.
EasyStat 1.0.0
- Initial release with
easy_regression(),easy_ttest(),easy_anova(), and basicprint()/summary()S3 methods.