adjR2 | R Documentation |
Calculates the adjusted coefficient of determination of a multiple linear regression model.
adjR2(r2, n, p)
r2 |
Numeric vector with the coefficient of determination to be adjusted. |
n |
Numeric vector providing the number of observations used to fit the multiple linear regression model. |
p |
Numeric vector providing the number of parameters included in the multiple linear regression model. |
A numeric vector with the adjusted coefficient of determination.
Alessandro Samuel-Rosa alessandrosamuelrosa@gmail.com
Coefficient of determination. Wikipedia, The Free Encyclopedia. Available at https://en.wikipedia.org/wiki/Coefficient_of_determination.
x <- adjR2(r2 = 0.95, n = 100, p = 80)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.