Description Usage Format Source References Examples
This dataset is simulated from a piecewise autoregressive process (model (11), p. 1581, in Rosen et al. (2012)), see Examples.
1 |
A univariate numeric vector with 1,024 observations.
Simulated
Rosen, O., Wood, S. and Stoffer, D. (2012). AdaptSPEC: Adaptive Spectral Estimation for Nonstationary Time Series. J. of the American Statistical Association, 107, 1575-1589
1 2 3 4 5 6 7 8 9 10 11 12 | #Created using the following script:
set.seed(346)
phi_true <- matrix(list(),3,1)
phi_true[[1]] <- .9
phi_true[[2]] <- c(1.69, -.81)
phi_true[[3]] <- c(1.32, -.81)
sd_true <- rep(1,3)
x1 <- arima.sim(list(order=c(1,0,0), ar=phi_true[[1]]),512,sd=sd_true[1])
x2 <- arima.sim(list(order=c(2,0,0), ar=phi_true[[2]]),256,sd=sd_true[2])
x3 <- arima.sim(list(order=c(2,0,0), ar=phi_true[[3]]),256,sd=sd_true[3])
simulated_piecewise <- c(x1, x2, x3)
plot.ts(simulated_piecewise)
|
Bayesian Spectral Analysis
Sally Cripps & Ori Rosen
Centre for Translational Data Science
Sydney Informatics Hub
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.