Displaying 2 results from an estimated 2 matches for "jstringer".
Did you mean:
stringer
2009 Jun 08
3
Plotting two regression lines on one graph
Hi!
I have fitted two glms assuming a poisson distribution which are:
fit1 <- glm(Aids ~ Year, data=aids, family=poisson())
fit2 <- glm(Aids ~ Year+I(Year^2), data=aids, family=poisson())
I am trying to work out how to represent the fitted regression curves of fit1 and fit2 on the one graph. I have tried:
graphics.off()
plot(Aids ~ Year, data = aids)
line(glm(Aids ~ Year,
2009 Oct 28
0
running aov() and lme() on 64-bit
...0 405 0.69772 0.7268
Regards,
Emily
Emily Deomano
Biometrician
BSES Limited
Postal Address: PO Box 86
Street Address: 50 Meiers Road
Indooroopilly QLD 4068 Australia
Ph: +61 (0) 7 3331 3306
Mobile: +61 (0) 408 656 452
Fax: +61 (0) 7 38710383
Email: edeomano@bses.org.au<blocked::mailto:jstringer@bses.org.au>
Web: www.bses.org.au<http://www.bses.org.au>
BSES Limited Disclaimer
--------------------------------------------------------------------------------
This email and any files transmitted with it are confide...{{dropped:15}}