Re: [R-sig-phylo] Standardized regression coefficients pgls

2015-02-24 Thread Orme, David
Dear Priya, Simon Blomberg posted on this back in 2008: https://stat.ethz.ch/pipermail/r-sig-phylo/2008-June/000128.html His point is that scaling the variables before the analysis using their simple standard deviations doesn�t correctly account for the phylogenetic structure. I think there

Re: [R-sig-phylo] Standardized regression coefficients pgls

2015-02-24 Thread Liam J. Revell
Hi David Priya. To do what David suggests, you probably want all your variables to each have 'phylogenetic mean' of zero 'phylogenetic variance' of 1.0. This is pretty easy. Just do the following, which assumes that your data are in n x m matrix (for n species m variables) X, and your

[R-sig-phylo] Standardized regression coefficients pgls

2015-02-23 Thread Priya Balasubramaniam
Dear list members I am learning to do a phylogenetic generalized least squares analysis in Caper and Ape. I was wondering if anyone knows how to get standardized coefficients from a pgls analysis in Caper and/or Ape? Do the input variables have to be standardized first or is there another way