Qconcalc: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Jeremy
(Importing text file)
imported>Jeremy
(Importing text file)
Line 7: Line 7:


:qcon = qconcalc(newx,model)  
:qcon = qconcalc(newx,model)  
:qcon = qconcalc(model);  %requires that model contains residuals
:qcon = qconcalc(model);  %requires that model contains residuals



Revision as of 17:35, 3 September 2008

Purpose

Calculate Q residuals contributions for predictions on a model.

Synopsis

qcon = qconcalc(newx,model)
qcon = qconcalc(model); %requires that model contains residuals

Description

Inputs are the new data newx and the 2-way PCA or regression model for which Q contributions should be calculated model.

If the model was created using the "blockdetails = 'all'" option in PLS or PCA (or whatever function was used to create the model), then newx can be omitted to retrieve the Q contributions for the calibration data. Note that this option is not the default so it is unlikely this call will work unless you have specifically created the model with the appropriate call.

See Also

datahat, pca, pcr, pls, tconcalc