Skip to content
Prev 4654 / 29559 Next

Principal Component Analysis - Selectingcomponents? + right choice?

Hi all,

I agree with Ashton. The issue is very complex and far from resolved.
But sometimes we have to go down the PCA path. Among the many possible
solutions is the broken stick approach, for which you find an R solution
(bstick()) in the package vegan. Technically the broken stick randomly
divides 100% variance into your N principal components and generates a
null expectation for the distributions of randomly partioning the
original variance. You then take all those PCAs that are above the
broken stick distribution. This is by no means an agreed upon approach,
but it is at least reproducible and has some theory behind it, but is
and will remain a rule of thumb.
In terms of spatial analysis you could derive the PCAs and then go into
classic spatial analysis. Although the interpretation of PCA is
sometimes complicated or even impossible, you can calculate the values
for every grid cell and then go into multivariate analysis whereby you
have to take spatial autocorrelation into account. At least your PCA
components are orthogonal, which simplifies your analysis in contrast to
using the original variables. It also allows you to produce predictive
models. 
What you could think of doing could be using PCA to derive
"environmental" variables which are uncorrelated and the use the
distance matrix and spatial filtering to "remove" spatial
autocorrelation. 

Hope this helps,

Kami



------------------------
Kamran Safi

Postdoctoral Research Fellow
Institute of Zoology
Zoological Society of London
Regent's Park
London NW1 4RY

http://www.zoo.cam.ac.uk/ioz/people/safi.htm

http://spatialr.googlepages.com
http://asapi.wetpaint.com

-----Original Message-----
From: r-sig-geo-bounces at stat.math.ethz.ch
[mailto:r-sig-geo-bounces at stat.math.ethz.ch] On Behalf Of Ashton
Shortridge
Sent: 11 December 2008 14:11
To: r-sig-geo at stat.math.ethz.ch
Cc: Corrado
Subject: Re: [R-sig-Geo] Principal Component Analysis -
Selectingcomponents? + right choice?

Hi Corrado,
that's an interesting and probably controversy-generating question. It's

probably not an R-sig-geo question, either. I am not a PCA person, but
the 
rule of thumb I am aware of is to plot the variability each 
component 'explains' and look for a clear breakpoint. I would think
about any 
multivariate analysis text would have a better explanation than I can
give, 
though.

As for something more rigorous, I think a lot of people are reluctant to
use 
PCA as a modeling approach not so much because it's hard to choose a 
threshold for selecting components, but because the interpretation of
the 
meaning of each component is pretty subjective. If you want an
explanatory 
model, be careful about using PCA. You would be better served by
deciding, 
based perhaps on expert knowledge about the variables, which ones to use
in 
the model and which ones not to.

To try to make this a bit more spatial, and therefore more relevant to
the 
list, I will also warn you that your various climate variables are
almost 
certainly spatially autocorrelated - that is, neighboring and nearby 
observations in the grid are not independent. That has serious
implications 
for standard multivariate analysis techniques and diagnostics.

Yours,

Ashton
On Thursday 11 December 2008 06:46:37 am Corrado wrote:
(12
2km
them to
is
precipitation
analysis and
highly
something