Thank you Emmanuel. I think it was indeed a problem with degrees of freedom, too many independent variables.
Best wishes, Alejandro -----Original Message----- From: Emmanuel Paradis [mailto:[EMAIL PROTECTED] Sent: den 10 november 2008 09:09 To: Alejandro Gonzalez Voyer Cc: r-sig-phylo@r-project.org Subject: Re: [R-sig-phylo] Error message in gls analyses Le 06.11.2008 18:31, Alejandro Gonzalez Voyer a écrit : > Hello, > > I am getting an error message when I run a gls analysis with APE. The > message I get is: Error in glsEstimate(object, control = control) : > computed gls fit is singular, rank 26 > > Could this be a result of multicolinearity problems or could it be because I > have a model with too many independent variables for the number of clades > included in the analysis? I have 26 clades and tried running the analysis > with 7 independent variables and still get an error message. It's not clear what's wrong in this analysis, but my guess is that is that you don't have enough degrees of freedom in your model. Did you try with a simple model? EP > Thank you, > > Alejandro > > Alejandro Gonzalez Voyer > Post-doc. > > Animal Ecology, Department of Ecology and Evolution > Evolutionary Biology Centre (EBC) > Uppsala University > Norbyvägen 18D > 75236 Uppsala > Sweden > > e-mail: alejandro.gonzalezvoyer[AT]ebc.uu.se > Tel: ++46-18-471-2930 > Web page: http://www.iee.uu.se/zooekol/default.php?type=personalpage > <http://www.iee.uu.se/zooekol/default.php?type=personalpage&id=146&lang=en> > &id=146&lang=en > > > > > [[alternative HTML version deleted]] > > > > ------------------------------------------------------------------------ > > _______________________________________________ > R-sig-phylo mailing list > R-sig-phylo@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-phylo -- Emmanuel Paradis IRD, Montpellier, France ph: +33 (0)4 67 16 64 47 fax: +33 (0)4 67 16 64 40 http://ape.mpl.ird.fr/ _______________________________________________ R-sig-phylo mailing list R-sig-phylo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-phylo