20.01.2015 Views

njit-etd2003-081 - New Jersey Institute of Technology

njit-etd2003-081 - New Jersey Institute of Technology

njit-etd2003-081 - New Jersey Institute of Technology

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

295<br />

Hotelling's T2 (Fourth Output)<br />

15. The last output <strong>of</strong> the princomp function, t2, is Hotelling's T2, a statistical measure<br />

<strong>of</strong> the multivariate distance <strong>of</strong> each observation from the center <strong>of</strong> the data set. This is an<br />

analytical way to find the most extreme points in the data.<br />

>> [st2, index] = sort(t2); % Sort in ascending order.<br />

>> st2 = flipud(st2); % Values in descending order.<br />

>> index = flipud(index); % Indices in descending order.<br />

>> extreme = index(1)<br />

extreme =<br />

10<br />

>> names(extreme,:)<br />

ans =<br />

ecc<br />

It is not surprising that the ratings for COPD subject `ecc' is the furthest from the<br />

average COPD group.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!