Compute the residuals from the original model
ResampleResiduals_BS(
  residPdynOriginal,
  residYieOriginal,
  InputsForOutputs,
  ModelType,
  nlag = 1
)Time-series of the residuals from the P-dynamics equation (T x F)
Time-series of the residuals from the observational equation (T x J or T x CJ)
List containing the desired inputs for the construction of the numerical outputs.
A character vector indicating the model type to be estimated
Number of lags in the P-dynamics. Default is set to 1.