poissonTest.df: A test data set for bayesPois

poissonTest.dfR Documentation

A test data set for bayesPois

Description

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).

Format

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}

See Also

bayesPois


Bolstad2 documentation built on April 11, 2022, 5:08 p.m.