Skip to content

statpsych

2.0.0

Statistical Methods for Psychologists

1packages depend
10.3Kdownloads / year
84.5%test coverage
13/13checks pass

Overview

About
Maintained by Douglas G. BonettFirst published 2021-09-0911 releasesCRAN page ↗GitHub ↗

Implements confidence interval and sample size methods that are especially useful in psychological research but are also useful in educational, social science, business, and biological research. This package includes more than 100 confidence interval functions and more than 80 sample size functions for 1-group, 2-group, paired-samples, and multiple-group designs and for a variety of parameters including means, medians, proportions, slopes, standardized mean differences, standardized linear contrasts of means, and several measures of correlation and association. 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 about these methods see: Statistical Methods for Psychologists, Volumes 1 – 4, https://dgbonett.sites.ucsc.edu/.

Install

Health

CRAN checks
13OK
Slowest check: 5.8 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.30
84.5%
Coverage · measured lines
100%
Documentation · exports
5
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-06-08
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 171 wordsVignettesNopkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
81%

Downloads

10.3K
CRAN downloads in the past year
Rank #4,739 · ~28/day · ~854/mo
Daily download trend is not available in this view yet.
37530 days
1.6K90 days
10.3K1 year
Compare downloads with other packages →
Also on161 r2u24 autocran

Repository

Repository
6Stars
0Forks
0Open issues
0Open PRs
9Releases
960Commits
2Contributors
960 commits · Last activity 2026-07-19

Stars over time

2024-01-17 · 62026-07-07 · 6

Repository practices

Upstream repositoryBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/dgbonett/statpsych on 2026-08-16.

Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (5)
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (1)
Package Timeline

11 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 2.0.0Latest
    2026-07-12 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.9.0
    2026-01-13 · diff ↗
  • 1.8.0
    2025-06-10 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.7.0
    2024-12-19 · diff ↗
  • 1.6.0
    2024-07-09 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.5.0
    2023-12-20 · diff ↗
  • 1.4.0
    2023-06-14 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.3.0
    2023-01-11 · diff ↗
  • 1.2.0
    2022-08-19 · diff ↗
  • 1.1.0
    2022-06-22 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.0
    2021-09-09
Show 1 earlier events
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-09-09
Total releases
11 / 5 yrs
License
GPL-3 OSI
Download size
445 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("statpsych")
Bonett, D. G., & Calin-Jageman, R. J. (2026). statpsych: Statistical Methods for Psychologists (Version 2.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.statpsych

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for statpsych version 2.0.0 [Data set]. HJJB, LLC. Data release v2026-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy