var_error_mult_R | R Documentation |
This function estimates the error variance for linear regression model (squared) multiple correlations (R and R-squared).
var_error_mult_R(R, n, p) var_error_mult_Rsq(Rsq, n, p) var_error_R(R, n, p) var_error_Rsq(Rsq, n, p)
R |
Vector of multiple correlation coefficients. |
n |
Vector of sample sizes. |
p |
Vector of numbers of predictors in the model. |
Rsq |
Vector of squared multiple correlation coefficients. |
The sampling variance of a multiple correlation is approximately:
var_e = (1 - R^2)^2 \* (n - p - 1)^2 / ((n^2 - 1) \* (n + 3))
The sampling variance of a squared multiple correlation is approximately:
var_e = 4 \* R^2 \* (1 - R^2)^2 \* (n - p - 1)^2 / ((n^2 - 1) \* (n + 3))
A vector of sampling-error variances.
Cohen, J., Cohen, P., West, S. G., & Aiken, L. S. (2003). Applied multiple regression/correlation analysis for the behavioral sciences (3rd ed.). Lawrence Erlbaum and Associates. doi: 10.4324/9780203774441. p. 88.
Olkin, I., & Finn, J. D. (1995). Correlations redux. Psychological Bulletin, 118(1), 155–164. doi: 10.1037/0033-2909.118.1.155
var_error_mult_R(R = .5, n = 30, p = 4) var_error_mult_R(R = .5, n = 30, p = 4) var_error_mult_Rsq(Rsq = .25, n = 30, p = 4) var_error_mult_Rsq(Rsq = .25, n = 30, p = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.