Skip to content
Prev 1076 / 7420 Next

multiple regression

Peter,

I would think that the species richness is binomial distributed. Since there is a maximum number of species that can be present. Therefore I would model it like

glm(cbind(number.present, number.absent) ~ covariates, family = binomial) 

HTH,

Thierry

----------------------------------------------------------------------------
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek
team Biometrie & Kwaliteitszorg
Gaverstraat 4
9500 Geraardsbergen
Belgium

Research Institute for Nature and Forest
team Biometrics & Quality Assurance
Gaverstraat 4
9500 Geraardsbergen
Belgium

tel. + 32 54/436 185
Thierry.Onkelinx at inbo.be
www.inbo.be

To call in the statistician after the experiment is done may be no more than asking him to perform a post-mortem examination: he may be able to say what the experiment died of.
~ Sir Ronald Aylmer Fisher

The plural of anecdote is not data.
~ Roger Brinner

The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey

-----Oorspronkelijk bericht-----
Van: r-sig-ecology-bounces at r-project.org [mailto:r-sig-ecology-bounces at r-project.org] Namens Peter Solymos
Verzonden: zaterdag 6 februari 2010 20:53
Aan: Nathan Lemoine
CC: r-sig-ecology at r-project.org
Onderwerp: Re: [R-sig-eco] multiple regression

Nathan,

Species richness is categorical, so if your richness values are usually low (say < 20), you should consider the use of Poisson GLM, or log-transform your response (and log is the canonical link function for Poisson GLM). This usually improves the model fit. And this might apply to abundance as well.

If you use lm(), you can inspect the residual variance of the models after excluding one of the covariates. The increase in residual variance compared to the full model will tell which variance component is higher (explains more of your data). Or you may as well inspect the
anova() table of the fitted model (both for lm or glm).

Best,

Peter

P?ter S?lymos
Alberta Biodiversity Monitoring Institute Department of Biological Sciences CW 405, Biological Sciences Bldg University of Alberta Edmonton, Alberta, T6G 2E9, Canada
Phone: 780.492.8534
Fax: 780.492.7635
On Sat, Feb 6, 2010 at 9:17 AM, Nathan Lemoine <lemoine.nathan at gmail.com> wrote:
_______________________________________________
R-sig-ecology mailing list
R-sig-ecology at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-ecology

Druk dit bericht a.u.b. niet onnodig af.
Please do not print this message unnecessarily.

Dit bericht en eventuele bijlagen geven enkel de visie van de schrijver weer 
en binden het INBO onder geen enkel beding, zolang dit bericht niet bevestigd is
door een geldig ondertekend document. The views expressed in  this message 
and any annex are purely those of the writer and may not be regarded as stating 
an official position of INBO, as long as the message is not confirmed by a duly 
signed document.