glm question
Dear All, I?m running a glm with poisson errors and have a doubt when ploting the predicted values. One of my variables has a positive slope in the summary output, but when I plot the predicted values on the original plot it draws a line with negative slope. I appreciate your comments on this and any other aspect of the analysis. Attached is the script and data. Thanks in advanced, Joaqu?n. pd. If this is not the correct forum to ask about glm, please let me know.
*Joaqu?n Aldabe* *Grupo Biodiversidad, Ambiente y Sociedad* Centro Universitario de la Regi?n Este, Universidad de la Rep?blica Ruta 15 (y Ruta 9), Km 28.500, Departamento de Rocha *Departamento de Conservaci?n* Aves Uruguay BirdLife International Canelones 1164, Montevideo https://sites.google.com/site/joaquin.aldabe <https://sites.google.com/site/perfilprofesionaljoaquinaldabe>