Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- date Messi Ronaldo # 2018 players
- 01/01/18 756 871
- 01/01/18 660 743
- 01/01/18 523 453
- 01/01/18 412 654
- 01/01/18 488 568
- 01/01/18 515 345
- date Lahm Xavi # 2014 players
- 01/01/18 756 871
- 01/01/18 660 743
- 01/01/18 523 453
- 01/01/18 412 654
- 01/01/18 488 568
- 01/01/18 515 345
- List = NULL
- for (i in 1:length(levels(wikiHitsWC2018$article))){
- data <- zoo(cbind(data_wideWC2018[i], data_wideWC2014[,1:119]),time.points)
- impact <- CausalImpact(data, pre.period, post.period,model.args =
- list(nseasons = 7, season.duration = 1))
- List[[i]] <- impact
- }
Add Comment
Please, Sign In to add comment