R2_prec | R Documentation |
Compute Precision Analyses for R-Squared This approach simply loops a function from MBESS
R2_prec(R2, nlow, nhigh, pred, ci = 0.95, by = 1)
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) |
Precision Analyses for R-Squared
R2_prec(R2=.467, nlow=24, nhigh=100, pred=3, by=4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.