Best way to remove noise from dataset.
1
0
Entering edit mode
@fenton-christopher-graham-5504
Last seen 4.4 years ago
Looking at the data I can see via princomp that pc1 is mostly noise, pc2 and pc3 are much more relevant. What is the best way to remove the effects of pc1 from the dataset. Chris
• 857 views
ADD COMMENT
0
Entering edit mode
@arnar-flatberg-2944
Last seen 9.7 years ago
Norway
Hi Chris, On Fri, Jan 10, 2014 at 12:59 PM, Fenton Christopher Graham <christopher.fenton at="" uit.no=""> wrote: > Looking at the data I can see via princomp that pc1 is mostly noise, pc2 and pc3 are much more relevant. > What is the best way to remove the effects of pc1 from the dataset. > If it's really, really crap, ;.-) : just subtract it: mod <- prcomp(data) new.data <- data - mod$x[,1] %*% t(mod$rotation[,1]) If there may be some interesting variance in PC1, e.g it may have some variance related to your targets/reponse values (if you have some), then look into the surrogate variable package (sva) and related material. Arnar
ADD COMMENT

Login before adding your answer.

Traffic: 737 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6