package "panelvar" in R _ error #110983
Unanswered
la-guardia-zorzin
asked this question in
Packages
Replies: 1 comment
|
The issue is likely caused by the order of your panel identifiers. In panel_identifier = c("Time", "Country")to: panel_identifier = c("Country", "Time")Also, your instrument setup is quite large. Using I would also try: max_instr_dependent_vars = 4L,
collapse = TRUEIf it still fails, test the model with |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Please, I'm facing an error when running a PVAR model in R, using the "panelvar" package.
The error is: "Errore cholmod 'problem too large' nel file ../Core/cholmod_dense.c, linea 102"
Below, my code for the model... My base is made up of 2,618 observations, so I don't believe it's a memory problem.
varone <-pvargmm(
dependent_vars = c("Img","d_Y_Pop_c","d_Y_Pop_I", "GDP_c", "GDP_I", "d_Unemploy_c", "d_Unemploy_I"),
lags = 1,
exog_vars = c("Policy_c", "Policy_I", "W_disaster_c", "W_disaster_I"),
transformation = "fd",
data = df2,
panel_identifier = c("Time", "Country"),
steps = c("twostep"),
system_instruments = TRUE,
max_instr_dependent_vars = 99,
min_instr_dependent_vars = 2L,
collapse = FALSE
)
Thank you very much in advance for any help (or any clue, any guidance)!!!
Guidelines
All reactions