On Jan 12, 2011, at 12:51 PM, gaiarrido wrote:
Hello,
I´m starting with my PhD and I have to stop because i got a little
knowledge
in R and statistics.
I´ve got a model of this kind:
binary response variable: prevalence of infection (0/1)
3 categorical independent variables: sex, month and name of the area
I was trying with a full model like this, before the simplification
model<-aov(prevalencia~sex*month*area)
but the Fligner test told that i haven´t got homoscedascity, so I
suppose I
should trying with glm, with a model
model2<-glm(prevalencia~edad*sexo*mes*zona,binomial)
is that correct? where I must put the link (logit) ?
Why not read the help page regarding binomial that is on the help page
for glm. There you will learn what the default link is for binomial.
--
David
Thnks very much
--
View this message in context:
http://r.789695.n4.nabble.com/Don-t-know-what-test-i-have-to-use-tp3214491p3214491.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
David Winsemius, MD
West Hartford, CT
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.