The function fits the model using the fitDTVARMx package.
Arguments
- data
R object. Output of the
GenData()
function.- ncores
Positive integer. Number of cores to use.
Examples
if (FALSE) { # \dontrun{
set.seed(42)
data <- GenData(taskid = 1)
fit <- FitDTVAR(
data = data,
ncores = parallel::detectCores()
)
summary(fit)
} # }