Hi

We are trying to analysis the Chinese monetary policy with the DSGE-VAR Model , we now apply the model in the paper of Del Negro, M., and F. Schorfheide (2004). And the code is from Prof. Stephane. But i have the error in the process, the error is as follows

Starting MATLAB/Octave computing.

Loading 52 observations from zhw.xls

Loading 52 observations from zhw.xls

VarSampleMoments :: not enough data to initialize! Try to increase FirstObservation.

as i know, the DSGE_VAR model will generate observations from the dsge model, so I think it will always have the enough data

Another question is that how to determine the number of lags of the VAR, should we determine the lags in advance with some tests or the model can

determine the lags itself ?

the attachments are the data and code

Thanks a lot