Hi Lucas, Do you get the same sign using lm instead of glm?
Regards, Pascal ________________________________ De : Lucas <lpchaparro...@gmail.com> à: Pascal Oettli <kri...@ymail.com> Cc : "r-help@r-project.org" <r-help@r-project.org> Envoyé le : Mercredi 7 mars 2012 23h02 Objet : Re: Re : [R] Problems with generalized linear model (glm) coefficients. Hi Pascal. I applied my analysis in time. I have 25 fire seasons, each season starts on November and ends up on April (our summer), so I have used them as independent observations. I know that assumption it could be wrong, but is the only way I can use the information available. Thank you. 2012/3/7 Pascal Oettli <kri...@ymail.com> Hi Lucas, > >Do you apply your analysis in time or in space? > >Regards, >Pascal > > > >----- Mail original ----- >De : Lucas <lpchaparro...@gmail.com> >à: r-help@r-project.org >Cc : >Envoyé le : Mercredi 7 mars 2012 22h34 >Objet : [R] Problems with generalized linear model (glm) coefficients. > > >Hello to everyone. > >I´m writing you because I´m feeling a bit frustrated with my work. > >My work consists in finding the relation between the amount of fires and >the weather, so, my response variable is the amount of fires in a fire >season and the explanatory variables are the temperature, the amount of >precipitation and the some othersâ¦. my problem is this; I keep getting the >wrong sign in the coefficients estimated, I get a negative sign for >temperature and a positive sign for precipitation, which is unreasonable, >the greater the temperature I would expect more fire, on the contrary, the >greater the precipitation I would expect less fires. So far I have deal >with overdispersion, multicollinearity and the amount of zeroes through >passing from Poisson to Negative Binomial and Hurdle. I believe I have >used all my options and still have the wrong signs on my coefficients. > >Do I have more options? What does it mean that I keep getting those signs? > >If anyone could help me I would really appreciate it. > >Thank you. > > >Lucas. > >   [[alternative HTML version deleted]] > > >______________________________________________ >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. > > [[alternative HTML version deleted]]
______________________________________________ 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.