Learn R Programming

pedometrics (version 0.6-3)

adjR2: Adjusted coefficient of determination

Description

Calculates the adjusted coefficient of determination of a multiple linear regression model.

Usage

adjR2(r2, n, p)

Arguments

r2
Numeric vector with the coeficient of deternmination 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.

Value

  • A numeric vector with the adjusted coefficient of determination.

Details

Details will be added later.

References

Coefficient of determination. Wikipedia, The Free Encyclopedia. Available at http://en.wikipedia.org/wiki/Coefficient_of_determination. [Online; accessed 31-July-2014].

Examples

Run this code
adjR2(r2 = 0.95, n = 100, p = 80)

Run the code above in your browser using DataLab