Data for: Hierarchical model for forecasting the outcomes of binary referenda
Description of this data
The archive file contains data on opinion polls on Scottish independence referendum (2014) and EU membership referendum (2016). It also contains R code, JAGS model and OpenBUGS code used to estimate the model parameters and forecasts of the outcome of the referendum.
Experiment data files
R code required to read in, clean and prepare data required for simulations
JAGS (rjags) model file, to be read when running simulations from within the data_mcmc_ref.R file
OpenBUGS file; to be used in OpenBUGS 3.2.3; contains code, data and expert opinions used for computation (Scottish referendum only)
data on EU membership referendum (obtained from http://ukpollingreport.co.uk/eu-referendum; last accessed on 8 September 2017).
data on Scottish independence referendum (obtained from http://ukpollingreport.co.uk/scottish-independence-referendum; accessed last on 22 September 2014).
Cite this dataset
Wiśniowski, Arkadiusz; Bijak, Jakub; Forster, Jonathan J. ; Smith, Peter W. F. (2018), “Data for: Hierarchical model for forecasting the outcomes of binary referenda”, Mendeley Data, v1 http://dx.doi.org/10.17632/p52zbvpz4p.1
The files associated with this dataset are licensed under a Creative Commons Attribution 4.0 International licence.