data in Bayes estimation

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

data in Bayes estimation

Postby fuyangzhao » Wed Jun 01, 2016 2:01 pm

Hi all,

In Bayes estimation, I want to match my model to several observed variables.

Variable Y, C, I have 100 observations, while variable B has only 70 observations. Can I use all the observations of Y, C, I, B ? Or do they have to be the same length ?

If balanced length must be required. I have to use Y, C, I with 100 observations or Y, C, I, B with only 70 observations... I wander which way performs better?

Thanks!
fuyangzhao
 
Posts: 48
Joined: Thu Dec 10, 2015 1:20 pm

Re: data in Bayes estimation

Postby jpfeifer » Fri Jun 03, 2016 7:54 am

Dynare's Kalman filter supports missing observations. Therefore you can use all 100 observations. You simply need to code the missing observations as NaN in the dataset.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: data in Bayes estimation

Postby fuyangzhao » Fri Jun 03, 2016 8:08 am

jpfeifer wrote:Dynare's Kalman filter supports missing observations. Therefore you can use all 100 observations. You simply need to code the missing observations as NaN in the dataset.


Thank u Professor!
fuyangzhao
 
Posts: 48
Joined: Thu Dec 10, 2015 1:20 pm


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 8 guests