R2_prec: Compute Precision Analyses for R-Squared This approach simply...

View source: R/R2_prec.R

R2_precR Documentation

Compute Precision Analyses for R-Squared This approach simply loops a function from MBESS

Description

Compute Precision Analyses for R-Squared This approach simply loops a function from MBESS

Usage

R2_prec(R2, nlow, nhigh, pred, ci = 0.95, by = 1)

Arguments

R2

R-squared

nlow

starting sample size

nhigh

ending sample size

pred

Number of Predictors

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)

Value

Precision Analyses for R-Squared

Examples

R2_prec(R2=.467, nlow=24, nhigh=100, pred=3, by=4)

pwr2ppl documentation built on Sept. 6, 2022, 5:06 p.m.