Description Usage Arguments Details Value References Examples
View source: R/var_error_cpa.R
Estimate an effective sample size for a statistic given the observed statistic and the estimated sampling error variance (cf. Revelle et al., 2017).
1 | n_effective_R2(R2, var_R2, p)
|
R2 |
Observed R^2^ value |
var_R2 |
Estimated sampling error variance for R^2^ |
p |
Number of predictors in the regression model |
n_effective_R2
estimates the effective sample size for the R^2^ value from
an OLS regression model, using the sampling error variance formula from Cohen
et al. (2003).
An effective sample size.
Revelle, W., Condon, D. M., Wilt, J., French, J. A., Brown, A., & Elleman, L. G. (2017). Web- and phone-based data collection using planned missing designs. In N. G. Fielding, R. M. Lee, & G. Blank, The SAGE Handbook of Online Research Methods (pp. 578–594). SAGE Publications. doi: 10.4135/9781473957992.n33
Cohen, J., Cohen, P., West, S. G., & Aiken, L. S. (2003). Applied multiple regression/correlation analysis for the behavioral sciences (3rd ed.). Routledge. doi: 10.4324/9780203774441
1 | n_effective_R2(0.3953882, 0.0005397923, 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.