poissonTest.df {Bolstad2} | R Documentation |
A test data set for bayesPois. The data come from the equation log(λ_{i}) = 1 + 5x_{i} + ε_{i} where ε_{i} comes from N(0,0.01).
data(poissonTest.df)
A data frame with 100 observations on 5 variables.
[1,] | x | numeric | the covariate |
[2,] | eps | numeric | the error in the log response |
[3,] | log.lam | numeric | log(λ_{i}) = 1 + 5x_{i} + ε_{i} where ε_{i} |
[4,] | lam | numeric | exp(log(λ)) |
[5,] | y | numeric | a Poisson random variate with mean λ_{i} |
bayesPois