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

조회 수: 46(최근 30일)
Zulfiqar Ali
Zulfiqar Ali 2019년 9월 24일
답변: Rajani Mishra 2020년 3월 12일
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?


Rajani Mishra
Rajani Mishra 2020년 3월 12일
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 :




Community Treasure Hunt

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

Start Hunting!

Translated by