BookmarkSubscribeSubscribe to RSS Feed

Community Trekker


Oct 6, 2014

PCA Model Validation Techniques

PCA can be used to build a model that describes a set of observations. Using the multivariate platform it is possible to perform jacknife and T2 outlier analysis to check if any of the observations are extreme relative to the multivariate mean.

In what situation might a weights column be used to build the model?

If you use a PCA model how do you maintain it?


If I have a new observation(s), I can apply the saved principle components & T2 to assess if it is consistent with my model or not.



Are there any methods in JMP to assess how robust the PCA model is? I was thinking for example of creating a script which deletes 10 % of cell values at random from each column and then uses impute missing to recover them from the covariance matrix. By repeating this many times and comparing the eigenvalue table and the imputed versus actual could give useful infomation about the model robustness.




Apr 26, 2012

Re: PCA Model Validation Techniques

I like where you're going with this idea.


First, Weight and Frequency, I'm pretty sure they do the same thing in Principal components. Weigh can use fractions where frequency uses integers.


It looks like a lot of the functionality you're thinking of is pretty easy to script.

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/" );
obj = dt<<Multivariate(
	Estimation Method( "Robust" )
obj << T Square( 1 , "Save T Square");
obj<<Close Window;

r=dt << Select Where( :name("T Square") >= Col Quantile( :name("T Square"), 0.9 )  );


JMP Systems Engineer, Pharm and BioPharm Sciences



Jul 2, 2014

Re: PCA Model Validation Techniques

DModX might be another option for you.


Capture.JPGFrom the Multivariate Methods book in HelpSave the DModX formula to your data table as you would other formula columns.



Jun 5, 2014

Re: PCA Model Validation Techniques

Another thought wrt to PCA validation is to create a validation column ala JMP Pro's "Make Validation Column" capability. Here's the link to the JMP online documentation describing this utility:


If you're not running JMP Pro, you can create one by using the workflow shown by my colleague @julian in this video:


Then use the validation column as a By variable. Then you can compare the various PCA visualizations and statistics for reasonableness and such.