R2_CB | R Documentation |
Estimate shrunken R2 based on Browne (1975) formula
R2_CB(N, p, R2)
N |
Sample size |
p |
number of predictors |
R2 |
R-squared |
R2_B formula-adjusted R2 based on Browne (1958) shrinkage formula
# (1) Sample size
N <- 100
# (2) Number of predictors
p <- 5
# (3) R2 R-squared
R2 <- 0.30
# Estimate shrunken R2
R2_CB(N = N, p = p, R2 = R2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.