Tconcalc: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Jeremy (Importing text file) |
||
Line 7: | Line 7: | ||
:tcon = tconcalc(newx,model) | :tcon = tconcalc(newx,model) | ||
:tcon = tconcalc(pred,model) | :tcon = tconcalc(pred,model) | ||
:tcon = tconcalc(model) | :tcon = tconcalc(model) | ||
Revision as of 17:35, 3 September 2008
Purpose
Calculate Hotellings T2 contributions for predictions on a model.
Synopsis
- tcon = tconcalc(newx,model)
- tcon = tconcalc(pred,model)
- tcon = tconcalc(model)
Description
Inputs are the new data newx and the 2-way PCA or regression model for which T2 contributions should be calculated model. Alternatively, the prediction structure pred calculated with new data can be used in place of the new data itself or both can be omitted (passing model only) to get T2 contributions for the calibration data.