[R] Simulating contingency table (Basic question, help please)

2009-02-24 Thread bbbnc
I'd like to carry out a Monte Carlo simulation test where given data is a contingency table. I think this is something to do with using rmultinonom(), but I'm not sure how to code this, to simulate contingency tables. Could anyone please help with how to use R to simulate contingency tables like t

Re: [R] Poisson GLM

2009-01-20 Thread bbbnc
I thought that quasipoisson family was used to model overdispersion, since the dispersion parameter isn't fixed at one. Could you please elaborate a little about why quasipoisson is more suitable for this non-integer poisson data? also, is it significant that vcov shows a difference? -- View

[R] Poisson GLM

2009-01-20 Thread bbbnc
This is a basics beginner question. I attempted fitting a a Poisson GLM to data that is non-integer ( I believe Poisson is suitable in this case, because it is modelling counts of infections, but the data collected are all non-negative numbers with 2 decimal places). My question is, since R does