A Special Case of simulation_generalized in 2 Dimensions
simul_fun_generalized_2d(
nsim,
n_train,
n_test,
copula,
init_params,
fn,
u1,
u2,
z1_train,
z2_train,
X_t,
y1_test,
y2_test,
BSTS_1,
BSTS_2
)
A list containing:
Simulated copula parameters across replications.
Simulated values for the first response variable.
Simulated values for the second response variable.
Mean squared error for each simulation run.
Results from the optimization process.
Integer, number of simulation replications.
Integer, number of training observations.
Integer, number of test observations.
Character, specifying the copula type: "Clayton", "Frank", "Gumbel", "Joe", or "Gaussian".
Numeric vector, initial parameter values for optimization.
Function, log-likelihood function for parameter estimation.
Numeric vector (n_train), first pseudo-observation for the copula.
Numeric vector (n_train), second pseudo-observation for the copula.
Numeric matrix (n_train x M), observed data for the first margin.
Numeric matrix (n_train x M), observed data for the second margin.
Numeric matrix (n_train x M), risk factors for the dynamic copula parameter.
Numeric vector (n_test), true future values for the first response variable.
Numeric vector (n_test), true future values for the second response variable.
Fitted BSTS model for the first response variable.
Fitted BSTS model for the second response variable.