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

27 Ansichten (letzte 30 Tage)
Zulfiqar Ali
Zulfiqar Ali am 24 Sep. 2019
Beantwortet: Rajani Mishra am 12 Mär. 2020
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?

Antworten (1)

Rajani Mishra
Rajani Mishra am 12 Mär. 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

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by