Guest User

Untitled

a guest
Mar 17th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. set.seed(50)
  2. y <- w <- rnorm(200, sd=1)
  3. alpha0 <- 1
  4. alpha1 <- 0.9
  5. cee0 <- 1
  6. z <-rep(0, 200)
  7. for (t in 1:200) {z[t] <- ifelse( t = 78:79,1,0)}
  8.  
  9. z <-rep(0, 200)
  10. for (t in 1:200) {z[t] <- ifelse( t > 100,1,0)}
Add Comment
Please, Sign In to add comment