search for: poislike

Displaying 1 result from an estimated 1 matches for "poislike".

Did you mean: dislike
2011 Sep 19
2
Poisson-Gamma computation (parameters and likelihood)
...rds the likelihood distribution. #Having the *react* table, I name the columns (with y=deaths, and x=exposures) * react x y 1 6 15 2 5 16 3 3 12 4 4 6 5 27 77 6 7 17 7 4 11 8 5 10 9 23 63 10 11 29 * *yr <- react[,2]* *xr <- react[,1]* #I then compute the likelihood *poislike=dpois(yr, theta*xr)* #And this is what I come up with, which I really don't understand. *poislike* *[1] 0 0 0 0 0 0 0 0 0 0* The values shouldn't be all null, otherwise my posterior cannot be computed properly. Does anyone have any idea on where I could possibly have messed it up? Thank...