cvq2-class {cvq2} | R Documentation |
"cvq2"
The class "cvq2"
extends class "q2"
and is used to store information about the model calibration, its prediction performance and the cross-validation applied to determine the prediction performance.
Objects can be created by calls of the form new("cvq2", ...)
.
result
Contains three lists (fit
, pred
, cv
) regarding the results from linear regression (model calibration, fit
) and cross-validation (prediction power, pred
and cv
) for the given model.
output
A list of parameters like number formats, output restrictions or output targets.
These lists are inherted from the parent class q2
.
Differences caused by cross-validation appear in the prediction result list for:
data
For each observation the model parameters used for the prediction are stored additionally as well as the arithmetic mean of the training set
nTrainingSet
The number of elements in one training set (N-k) plus an eventually variation.
nTestSet
The number of elements in one test set (k) minus an eventually variation.
testSetSizeVaries
True, if some test sets consist of k-1 elements.
nFold
modelData
is randomly split into n equal sized (according to testSetSizeVaries
) test sets for each individual run.
nRun
The number of runs each value is predicted.
Class "q2"
, directly.
Returns a comprehensive overview about the model calibration and the prediction performance.
Torsten Thalheim <torstenthalheim@gmx.de>
showClass("cvq2")