Skip to content

statpsych

Statistical Methods for Psychologists

v1.9.0 · Jan 12, 2026 · GPL-3

Description

Implements confidence interval and sample size methods that are especially useful in psychological research. The methods can be applied in 1-group, 2-group, paired-samples, and multiple-group designs and to a variety of parameters including means, medians, proportions, slopes, standardized mean differences, standardized linear contrasts of means, plus several measures of correlation and association. Confidence interval and sample size functions are given for single parameters as well as differences, ratios, and linear contrasts of parameters. The sample size functions can be used to approximate the sample size needed to estimate a parameter or function of parameters with desired confidence interval precision or to perform a variety of hypothesis tests (directional two-sided, equivalence, superiority, noninferiority) with desired power. For details see: Statistical Methods for Psychologists, Volumes 1 – 4, <https://dgbonett.sites.ucsc.edu/>.

Downloads

CRAN

655

Last 30 days

5172nd

2.2K

Last 90 days

10.2K

Last year

Trend: -5.8% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

28

Last 90 days

137

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

4

Last 7 days

15

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
NOTE 12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Douglas G. Bonett <dgbonett@ucsc.edu>’

Reading Rd files failed with message:
  cannot open the connection
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Douglas G. Bonett <dgbonett@ucsc.edu>’

Reading Rd files failed with message:
  cannot open the connection
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

35,036

Files

264

Compiled share

0%

Has compiled src

No

Language breakdown

R 17,637 (50.3%)Tests 5,293 (15.1%)Docs 12,106 (34.6%)

API

Exported functions

245

Internal functions

1

Recent export changes

v1.9.0+12 ci.diversity, ci.icc, ci.lc.mean.scheffe +9 more  −1 size.test.slope.gen
v1.8.0+10 ci.slope.median.bs, size.ci.cv, size.ci.gen +7 more  −5 ci.mean1, ci.median1, ci.prop1 2 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.30

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

10

First release

2021-09-09

Latest release

2026-01-13

Avg cadence

173 days

Cold removal rate

100%

Dep drift

1

LOC over versions

v1.0.0: 13,215 LOCv1.1.0: 14,998 LOCv1.2.0: 17,179 LOCv1.3.0: 18,276 LOCv1.4.0: 21,782 LOCv1.5.0: 23,842 LOCv1.6.0: 26,515 LOCv1.7.0: 30,457 LOCv1.8.0: 31,658 LOCv1.9.0: 35,036 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies mnonr Rdpack mathjaxr esci statpsych

Version History

11 tracked
new 1.9.0 Mar 10, 2026
updated 1.9.0 ← 1.8.0 diff Jan 12, 2026
updated 1.8.0 ← 1.7.0 diff Jun 9, 2025
updated 1.7.0 ← 1.6.0 diff Dec 18, 2024
updated 1.6.0 ← 1.5.0 diff Jul 8, 2024
updated 1.5.0 ← 1.4.0 diff Dec 19, 2023
updated 1.4.0 ← 1.3.0 diff Jun 13, 2023
updated 1.3.0 ← 1.2.0 diff Jan 10, 2023
updated 1.2.0 ← 1.1.0 diff Aug 18, 2022
updated 1.1.0 ← 1.0.0 diff Jun 21, 2022
new 1.0.0 Sep 8, 2021