A class that holds the observation data, simulator outputs, and prior information to convert into the required form for fit_ensemble_model
.
stan_input
A list
of parameters in the correct form to fit the ensemble model in Stan.
observations
A list
of length 2 containing observations and a covariance matrix. The first element is a data.frame
or matrix
with each column giving observations of each output of interest and each row a time. Rows should be named with the times and columns should be named the variables. The second element is the covariance matrix of the observations.
simulators
A list
with length equal to the number of simulators. For each simulator, there is a list
of 2 objects containing the simulator output and covariance matrix. The first element is a data.frame
or matrix
with each column giving a simulator outputs of interest and each row a time. Rows should be named with the times and columns should be named the variables. The second element is the covariance matrix of the simulator outputs.
priors
An EnsemblePrior
object specifying the prior distributions for the ensemble.
EnsembleData
, EnsemblePrior
, fit_ensemble_model