Statistical Tools for Quantitative Theses
Overview
Provides helpers for the analyses that quantitative theses in the social and behavioral sciences repeat: renaming and scoring items, recoding Likert responses, cleaning sociodemographic variables written in Spanish (age, academic term, degree and university), descriptive statistics, univariate and multivariate normality checks, omega reliability from ordinal confirmatory factor models, correlation matrices in table format, and two-group or several-group comparisons with effect sizes.
First version submitted to CRAN.
Breaking change
generate_and_apply()no longer writes the result into the global environment; it returns the data frame. Assign it:df2 <- generate_and_apply(df, lines). Thenew_nameargument is kept but ignored.
Bug fixes
Calcule_Comparative()labelled the groups in order of appearance whilet.test()orders them alphabetically, so a table could show one group's mean with the other group's label and standard deviation. Both now followlevels(factor(group)). Cohen's d is computed directly (pooled SD); the robust option still usesWRS2::akp.effect().
Show all changes in 1.1.0Hide the rest of the changes in 1.1.0
calcula_omega_all()failed andFiabilidad()returned a list with recent semTools versions, wherecompRelSEM()returns a list; both return numbers again.u_mann_whitney_superioridad()labelled large effects in favour of the second group (PS well below .50) as "No efecto"; the size now uses max(PS, 1 - PS). Cases with missing values are excluded before counting n.calcular_correlaciones()assigned significance marks by comparing p values as text; it now uses the numeric p values.normalize_carreras(remove_unmatched = TRUE)failed because it used the output before creating it.- Decimal commas ("3,5") were read as thousands separators (35) in
clean_edad(),convert_age_to_years()andconvert_age_to_years_months(); "un año" is now recognized as 1 year. epsilon_cuadrado_kruskal()counts only the cases used by the test.
CRAN compliance
- No function installs or attaches packages at run time; dependencies are declared in DESCRIPTION and imported in the NAMESPACE.
- Documentation generated with roxygen2; every function has a runnable example and the two datasets are documented.
- Progress is reported with
message()instead ofprint(). - Non-ASCII characters in the code are escaped.
From NEWS.md in the release
Install
Health
- OK13 OKNow
- OK6 OK2026-10-06
Documentation
- Help pages
- 37 (1 internal)includes a package overview page
- Examples that run
- 94%32 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 91%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/jventural/thesistats on 2026-10-18.
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2025-10-05Commits: at least 2 crediting it in the message
Dependencies
Installing ThesiStats adds 51 packages (25 with compiled code, 38 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, GPArotation 1.6 MB.
Code & Tests
Datasets
People & History
- 1.1.0Latest2026-10-05 · current release ·
37 hours in CRAN's queue
Listed in CRAN's incoming queue from 2026-10-03 21:57 to 2026-10-05 11:02 UTC, in 9 readings. - RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-10-05
- Total releases
- 1 / 1 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 3.0 KB / 2 files
- Download size
- 42 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ThesiStats")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.