pwr2ppl (version 0.5.0)

r_prec: Compute Precision Analyses for Correlations This approach simply loops a function from MBESS

Description

Compute Precision Analyses for Correlations This approach simply loops a function from MBESS

Usage

r_prec(r, nlow, nhigh, ci = 0.95, by = 1)

Value

Precision Analyses for Correlations

Arguments

r

Correlation

nlow

starting sample size

nhigh

ending sample size

ci

Type of Confidence Interval (e.g., .95)

by

Incremental increase in sample (e.g. nlow = 10, nhigh = 24, by = 2, produces estimates of 10, 12, and 14)

Examples

Run this code
r_prec(r=.3, nlow=80, nhigh=400, by=20, ci=.95)

Run the code above in your browser using DataLab