I want to use a ipolate command to create monthly GDP estimates from quarterly data.
My data looks like this:
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input long gdp float date 399999 396 417626 399 399018 402 440858 405 427460 408 445635 411 421138 414 472990 417 464913 420 483376 423 end format %tm date
Code:
gen date = mofd(dofq(qdate))
date | gdp |
1993m1 | 399999 |
1993m2 | . |
1993m3 | . |
1993m4 | 417626 |
1993m5 | . |
1993m6 | . |
How could I achieve this, or is there another, advantageous way to interpolate this variable?
/Nils
0 Response to Interpolation (ipolate/csipolate)
Post a Comment