How to get hotelling's t-sqaure for first few components of PCA

24 views (last 30 days)
I am trying to get t-square values for just two components in a PCA run but i am getting t-square for all components. matlab documentation is saying to calculate t-sqreduced and t-sqdiscareded, but i am unable to understand what does these means. is there any way to directly get t-square for only first component?

Answers (1)

Rajani Mishra
Rajani Mishra on 12 Mar 2020
Please read “Hotelling’s T-squared Statistic” part in the “More about” section in the documentation of pca function, it explains about finding T-squared statistic in the reduced space. You can find pca documentation here :


Find more on Large Files and Big Data in Help Center and File Exchange




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by