Learn R Programming

bssm (version 2.0.2)

poisson_series: Simulated Poisson Time Series Data

Description

See example for code for reproducing the data. This was used in Vihola, Helske, Franks (2020).

Arguments

Format

A vector of length 100.

References

Vihola, M, Helske, J, Franks, J (2020). Importance sampling type estimators based on approximate marginal Markov chain Monte Carlo. Scand J Statist. 1-38. https://doi.org/10.1111/sjos.12492

Examples

Run this code
# The data was generated as follows:
set.seed(321)
slope <- cumsum(c(0, rnorm(99, sd = 0.01)))
y <- rpois(100, exp(cumsum(slope + c(0, rnorm(99, sd = 0.1)))))

Run the code above in your browser using DataLab