Skip to content

Model with all monthly variables causes an error #8

@alexhubbardOD

Description

@alexhubbardOD

Would be great to be able to use the same function even with data of all the same frequency. Right now, the estimate_mfbvar function throws an error:

prior_obj <- set_prior(Y = mf_sweden[, c("unemp", "infl", "ip", "eti")],
freq = c(rep("m", 4)),
n_lags = 4, n_burnin = 20, n_reps = 20)
mod_minn <- estimate_mfbvar(prior_obj, prior_type = "minn")

Error in if (aggregation[i] == "m") { :
missing value where TRUE/FALSE needed

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions