Submit a product

presize

R package for precision-based sample size calculations

ToolOpen source

presize is a package for the R statistical environment that calculates sample sizes from the precision of a study rather than its statistical power. It is aimed at researchers who plan studies and want to know how wide a confidence interval a given sample size will produce, or how large a sample is needed for a target interval width.

For a given sample size, the functions return the expected precision, which is the width of the confidence interval, and they also work in the reverse direction. The approach follows a recommendation by Bland (2009) to base study sizes on interval width. The source code is public on GitHub and the package is described in the Journal of Open Source Software.

Alternatives to presize

Products that do a similar job in Science & Research.

All alternatives

R

Free environment for statistical computing and graphics

AppScience & Research··Free

RStudio

IDE for working with R and Python data science code

AppScience & Research··Open source

G*Power

Statistical power analysis software for planning sample sizes

AppScience & Research

KCalc

Scientific calculator for Linux desktops with stacked results

AppScience & Research··Open source

jamovi

Statistics spreadsheet with built-in t-tests, ANOVAs and factor analysis

AppScience & Research··Open source

JASP

Desktop statistics software with classical and Bayesian analysis

AppScience & Research··Open source

ggplot2

R package for building statistical graphics from a grammar of graphics

ToolScience & Research·Open source

Epi Info

Statistical software for epidemiologists and public health staff

AppScience & Research·Open source