pwr2ppl (version 0.1.1)

R2_prec: 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

Run this code
# NOT RUN {
R2_prec(R2=.467, nlow=24, nhigh=100, pred=3, by=4)
# }

Run the code above in your browser using DataLab