I estimated a DSGE model and am now amending the code to estimate a BVAR-DSGE (Del Negro and Schorfheide (2004; 2005), etc.). I am getting some error messages and cannot find detailed guidance on how to do this estimation beyond the dsge_var=. command. The problematic error seems to be
[quote]VarSampleMoments :: not enough data to initialize! Try to increase FirstObservation.
[/quote]
I have read the relevant papers carefully and am not sure what to do. Might someone look at my code and data for potential issues here?
Thank you for your response. I am still having errors. The error message reads:
[quote]ESTIMATION_CHECKS: There was an error in computing the likelihood for initial parameter values.
ESTIMATION_CHECKS: You should try using the calibrated version of the model as starting values. To do
ESTIMATION_CHECKS: this, add an empty estimated_params_init-block with use_calibration option immediately before the estimation
ESTIMATION_CHECKS: command (and after the estimated_params-block so that it does not get overwritten):[/quote]
yet I have already added the empty block. I am attaching my code for further inspection. I am not sure why the parameter values would not work, as I did estimate the DSGE model without problems using the same values.
Note the message before that output. There is a technical condition for the dsge_var-parameter prior to be proper. You must increase dsge_var to at least 0.75 in your case.
[quote]Error in computing likelihood for initial parameter values
ESTIMATION_CHECKS: There was an error in computing the likelihood for initial parameter values.
ESTIMATION_CHECKS: You should try using the calibrated version of the model as starting values. To do
ESTIMATION_CHECKS: this, add an empty estimated_params_init-block with use_calibration option immediately before the estimation
ESTIMATION_CHECKS: command (and after the estimated_params-block so that it does not get overwritten):
[/quote]
With dsge_var = 1.75,
it runs (although there might be another issue as Dynare warns of near singularity. If it does not run, provide the updated mod-file and datafile. Note also that the name of the data-file above does not match the one used in the mod-file.
I have just joined the forum and also new to dynare. I have been reading comments on BVAR-DSGE estimation. Could anyone have the final codes that resolved the problems?