Description Usage Arguments Value Author(s)
Calculates the coefficient of determination (R^2 = 1 - \frac{\textrm{Residual sum of squares}}{\textrm{Total sum of squares}} or R^2 = \frac{\textrm{Explained sum of squares}}{\textrm{Total sum of squares}}).
1 |
beta_hat |
Vector of k estimated regression parameters.
If |
X |
The data matrix, that is an n \times k matrix of n observations of k regressors, which includes a regressor whose value is 1 for each observation. |
y |
n \times 1 vector of observations on the regressand variable. |
m |
Logical.
If |
rss |
Logical.
If |
Returns the coefficient of determination R^2.
Ivan Jacob Agaloos Pesigan
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.