Re: [R] how to tell if its better to standardize your data matrix first when you do principal

2009-11-23 Thread masterinex
; Anyway, it does not make sense to predict weight using a linear > combination (principle component) that contains weight, does it? > > Uwe Ligges It's likely to have been homework: A quick search on "masterinex" "xevilgang79" reveal which university this undergr

Re: [R] how to tell if its better to standardize your data matrix first when you do principal

2009-11-22 Thread masterinex
this is how my data matrix looks like . This is just for the first 10 observations , but the pattern is similar for the other observations. 112.3 154.25 67.75 36.2 93.1 85.2 94.5 59.0 37.3 21.9 32.0 27.4 17.1 2 6.1 173.25 72.25 38.5 93.6 83.0 98.7 58.7 37.3 23.4 30.

Re: [R] how to tell if its better to standardize your data matrix first when you do principal

2009-11-22 Thread masterinex
low.com and received the > same answer. This is rude because it duplicates effort. If you > urgently need a response to a question, perhaps you should consider > paying for it. > > Hadley > > On Sun, Nov 22, 2009 at 12:04 PM, masterinex > wrote: >> >> so unde

Re: [R] how to tell if its better to standardize your data matrix first when you do principal

2009-11-22 Thread masterinex
so under which cases is it better to standardize the data matrix first ? also is PCA generally used to predict the response variable , should I keep that variable in my data matrix ? Uwe Ligges-3 wrote: > > masterinex wrote: >> >> >> Hi guys , >> >>

[R] how to tell if its better to standardize your data matrix first when you do principal

2009-11-21 Thread masterinex
Hi guys , Im trying to do principal component analysis in R . There is 2 ways of doing it , I believe. One is doing principal component analysis right away the other way is standardizing the matrix first using s = scale(m)and then apply principal component analysis. How do I tell what