The class "q2"
is used to store information about the calibration of model M and its prediction performance.
To determine the prediction power, M is applied to an external, independent data set.
Objects can be created by calls of the form new("q2", ...)
.
result
Contains two lists (fit
, pred
) regarding the results from linear regression (model calibration, fit
) and the application of the model to a validation set (prediction power, pred
)
output
A list of parameters like number formats, output restrictions or output targets
This part contains the measurements regarding the model calibration of the linear model M.
data
The observations and the linear fitted predictions by model M
data.col
The explanation of data's column names
model
The linear model M
n
The number of elements in the data set
observed_mean
The arithmetic mean of the observations
r2
The conventional squared correlation coefficient
rmse
The root mean square error with regard to the degree's of freedom ν
nu
The degree's of freedom
This part contains the measurements regarding the prediction power of model M which ia applied to an external data set.
data
Contains the observations and their predictions by M
data.col
The explanation of data's column names
nTrainingSet
The number of elements in the model set (Nk)
nTestSet
The number of elements in the prediction set (k)
q2
The predictive squared correlation coefficient
rmse
The root mean square with regard to the degree's of freedom ν
nu
The degree's of freedom
Returns a comprehensive overview about the model calibration and the prediction performance.
Torsten Thalheim <torstenthalheim@gmx.de>
1  showClass("q2")

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.