Dear all, I have a quarterly data and some monthly data. I want to convert the quarterly into a monthly format where the new data will only have the Q1(MARCH) Q2(JUNE) Q3(SEPTEMBER) AND Q4( DECEMBER) will only have values while the remaining months will be filled with NA. For panel data analysis.

For example,

​​​​​ Quarterly

2000q1. 12

2000q2. 14

2000q3. 18

2000q4. 22

New data

Monthly

2000m1 Na

2000m2. Na

2000m3. 12

2000m4. Na

2000m5. Na

2000m6. 14

2000m7. Na

2000m8. Na

20000m9 18

2000m10. Na

2000m11. Na

2000m12. 22

I would appreciate any help with Stata or R in this regards..

More Hamid Muili's questions See All
Similar questions and discussions