Description Usage Arguments Value Author(s) References See Also Examples
Reconstructs the most likely series.
1 | reconstruct(object)
|
object |
object of class |
the function returns a vector of the same length of data
containing the reconstruction of the most likely series.
David Moriña, Amanda Fernández-Fontelo, Alejandra Cabaña, Pedro Puig
D. Moriña, A. Fernández-Fontelo, A. Cabaña, P. Puig (2021): New statistical model for misreported data with application to current public health challenges. arXiv preprint (https://arxiv.org/pdf/2003.09202.pdf)
Davison, A. C. and Hinkley, D. V. (1997) Bootstrap Methods and Their Applications. Cambridge University Press, Cambridge. ISBN 0-521-57391-2
MisRepARMA-package
, fitMisRepARMA
1 2 3 4 5 6 | ### Simulate underreported time series data
x <- arima.sim(model=list(ar=0.4), n=50)
ind <- rbinom(50, 1, 0.6)
y <- ifelse(ind==0, x, x*0.3)
pr <- fitMisRepARMA(y, 1e-8, 5, 0.05, 1, 0, covars=NULL, misReport="U")
x <- reconstruct(pr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.