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

23 views (last 30 days)
hi
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 : https://www.mathworks.com/help/stats/pca.html#bvmb8k3-1

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!