Data in Bayesian Estimation

If variables in my data have different starting time because of availability, how shall I do? To shorten my data so that each variable has the same starting time or extend some variables data with artificial number, like letting those historical values before equal to the first available one?

Hi,

You should not replicate the first observation to complete your sample. There is no rational for that, except if you want to implicitly impose some kind of unit root prior. You have two possibilities :

[ul]

  1. Shorten your sample so that you have data available for all the variables in all periods.

  2. If for some variables data are not available at the beginning of the sample, treat them as missing observations. You just have to put some NaNs in the datafile for these missing observations.
    [/ul]

Note that the missing observations, i.e. the NaNs, need not to be at the beginning of the sample, they can arbitrarily distributed in the sample. I would opt for the second approach.

Best,
St├ęphane.

Thank your, Professor.
I got it. Your reply helps me a lot.

All bests,

Samson