pcrGOF {qpcR}R Documentation

Summarize measures for the goodness-of-fit

Description

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...

Usage

pcrGOF(object, PRESS = FALSE)

Arguments

object a fitted object.
PRESS logical. If TRUE, the more calculation intensive P-square is also returned.

Value

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.

Author(s)

Andrej-Nikolai Spiess

Examples

m <- pcrfit(reps, 1, 2, l5)
pcrGOF(m, PRESS = TRUE)

[Package qpcR version 1.2-4 Index]