In this case the positive values will become negative and the negative
> > values
> > positive.
> > Add an if test to selectively rotate based on the value of a single test
> > element in x
> > (as in x[3,2]).
> >
> > In debugging or trouble shooting setting seed is us
gt;
> Tim
>
>
>
> -Original Message-----
> From: Ashim Kapoor
> Sent: Thursday, October 13, 2022 12:28 AM
> To: Ebert,Timothy Aaron
> Cc: R Help
> Subject: Re: [R] prcomp - arbitrary direction of the returned principal
> components
>
> [External Email]
2]).
In debugging or trouble shooting setting seed is useful. For actual data
analysis you should not set seed, or possibly better yet use set.seed(NULL).
Tim
-Original Message-
From: Ashim Kapoor
Sent: Thursday, October 13, 2022 12:28 AM
To: Ebert,Timothy Aaron
Cc: R Help
Subjec
В Wed, 12 Oct 2022 17:18:26 +0530
Ashim Kapoor пишет:
> My problem is that I am building an index based on Principal
> Components Analysis.
> When the index is high it should indicate stress in the market.
Have you considered using supervised methods, like PLS, to predict
stress in the market?
I agree with this and I'm not very sure why you feel you need the signs
fixed one way: they are arbitrary and how they come out is generally a
function of things in the handling of rounding as values hit the limit
of the finite arithmetic in the particular program and OS and hardware
on which it's
Dear Aaron,
Many thanks for your reply.
Please allow me to illustrate my query a bit.
I take some data, throw it to prcomp and extract the x data frame from prcomp.
>From ?prcomp:
x: if ‘retx’ is true the value of the rotated data (the centred
(and scaled if requested) data
Use absolute value
Tim
-Original Message-
From: R-help On Behalf Of Ashim Kapoor
Sent: Wednesday, October 12, 2022 7:48 AM
To: R Help
Subject: [R] prcomp - arbitrary direction of the returned principal components
[External Email]
Dear R experts,
>From ?prcomp,
snip -
Note:
7 matches
Mail list logo