Learn R Programming

⚠️There's a newer version (0.3.9) of this package.Take me there.

presize (version 0.3.7)

Precision Based Sample Size Calculation

Description

Bland (2009) recommended to base study sizes on the width of the confidence interval rather the power of a statistical test. The goal of 'presize' is to provide functions for such precision based sample size calculations. For a given sample size, the functions will return the precision (width of the confidence interval), and vice versa.

Copy Link

Version

Install

install.packages('presize')

Monthly Downloads

568

Version

0.3.7

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Alan Haynes

Last Published

February 27th, 2023

Functions in presize (0.3.7)

prec_rate

Sample size or precision for a rate
prec_or

Sample size or precision for an odds ratio
prec_rateratio

Sample size or precision for a rate ratio
prec_riskdiff

Sample size or precision for risk difference
presize-package

presize: Precision Based Sample Size Calculation
prec_sens

Sample size and precision of sensitivity and specificity
prec_riskratio

Sample size or precision for risk ratio
prec_prop

Sample size or precision for a proportion
prec_lr

Sample size or precision for likelihood ratios
prec_meandiff

Sample size or precision for a mean difference
launch_presize_app

Presize shiny app
prec_kappa

Sample size or precision for Cohen's kappa
prec_icc

Sample size or precision for an intraclass correlation
prec_mean

Sample size or precision for a mean
prec_auc

Sample size or precision for AUC
prec_lim_agree

Sample size or precision for limit of agreement on Bland-Altman plots
prec_cronb

Sample size or precision for Cronbach's alpha
prec_cor

Sample size or precision for correlation coefficient