Problem to use varpart
On Thu, 2011-07-07 at 06:33 +0100, momadou sow wrote:
Hi, I did a linear regression with 5 explanatory variables. Now, to see the contribution of each variable, I use varpart from vegan library. But varpart don?t accepts my 5 explanatory variables, it accept only 4. 1- How must I do to use my 5 explanatory variables? 2- Is it the sum of variance fraction of each variable must be equal to 1. Thanks for your help.
varpart is for redundancy analysis - aka reduced rank regression. I suppose one can do linear regression with RDA, but why would you want to? Anyway, you can't do what you want with varpart(). Look at interpretting the linear model directly. G
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% Dr. Gavin Simpson [t] +44 (0)20 7679 0522 ECRC, UCL Geography, [f] +44 (0)20 7679 0565 Pearson Building, [e] gavin.simpsonATNOSPAMucl.ac.uk Gower Street, London [w] http://www.ucl.ac.uk/~ucfagls/ UK. WC1E 6BT. [w] http://www.freshwaters.org.uk %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%