Hi Jana, If your response variable is binary, I think you can use the binaryPGLMM function in "ape". For a multiple response I guess the formula should be like this: binaryPGLMM(Y ~ X1+X2, phy=phy, data=sim.dat)
Best, Julien ________________________________________ De : R-sig-phylo <r-sig-phylo-boun...@r-project.org> de la part de Knappová Jana <jana.knapp...@ibot.cas.cz> Envoyé : mardi 26 janvier 2016 16:16 À : r-sig-phylo@r-project.org Objet : [R-sig-phylo] multiple regression with binomial distribution Hi everyone, I am not very familiar with phylogenetics, but i would like to incorporate it somehow into my work and i appreciate any suggestions. Is it possible to use any kind of phylogenetically informed analysis in case of multiple regression (one response ~ multiple predictors) in case I assume binomial distribution of response variable? I try to explain species occurrence (proportional data) by a couple of species traits. I tried pgls function from "caper" R package, but I am not sure about it. Generally, it seems that there is not strong signal in my data, when I used lambda="ML" than lambda was set to zero. Thanks Jana Knappová Botanický ústav AV ČR, v. v. i. | Institute of Botany of the CAS Zámek 1, 252 43 Průhonice | Zamek 1, CZ-25243 Pruhonice Česká republika | Czech Republic jana.knapp...@ibot.cas.cz www.ibot.cas.cz www.pruhonickypark.cz Telefon: 271015401, 737375227 | Phone: +420-271015401, 737375227 Fax: 271015105 | Fax: +420-271015105 _______________________________________________ R-sig-phylo mailing list - R-sig-phylo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-phylo Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/ _______________________________________________ R-sig-phylo mailing list - R-sig-phylo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-phylo Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/