pcrGOF {qpcR} | R Documentation |
Calculates all implemented measures for the goodness-of-fit and returns them as a list.
Works for objects of class pcrfit
, drc
, lm
, glm
, nls
and many others...
pcrGOF(object, PRESS = FALSE)
object |
a fitted object. |
PRESS |
logical. If TRUE , the more calculation intensive P-square is also returned. |
A list with the following components:
Rsq |
the R-squared value. |
Rsq.ad |
the adjusted R-squared value. |
AIC |
the Akaike Information Criterion. |
AICc |
the bias-corrected Akaike Information Criterion. |
BIC |
the Bayesian Information Criteron. |
resVar |
the residual variance. |
RMSE |
the root-mean-squared-error. |
prob |
the chi-square fit probability. |
P.square |
the PRESS P-square, if PRESS = TRUE . |
Andrej-Nikolai Spiess
m <- pcrfit(reps, 1, 2, l5) pcrGOF(m, PRESS = TRUE)