Hi all,
I have some trouble to transform quarterly data to monthly data. I try to use denton and linear inter but i cannot get the right syntax. My data set is in the link. Thank you so much for your help.
https://fred.stlouisfed.org/series/AUSPROINDQISMEI
I have some trouble to transform quarterly data to monthly data. I try to use denton and linear inter but i cannot get the right syntax. My data set is in the link. Thank you so much for your help.
https://fred.stlouisfed.org/series/AUSPROINDQISMEI
Code:
clear * Example generated by -dataex-. To install: ssc install dataex clear input int date double ipau 5295 44.3183305704798 5295 44.3183305704798 5295 44.3183305704798 5387 43.7289969099266 5387 43.7289969099266 5387 43.7289969099266 5479 40.6233538247024 5479 40.6233538247024 5479 40.6233538247024 5569 40.6601026983177 5569 40.6601026983177 5569 40.6601026983177 5660 41.3978173281077 5660 41.3978173281077 5660 41.3978173281077 5752 42.7380614208846 5752 42.7380614208846 5752 42.7380614208846 5844 41.4203397412246 5844 41.4203397412246 5844 41.4203397412246 5935 42.3993128383035 5935 42.3993128383035 5935 42.3993128383035 6026 43.2691882448379 6026 43.2691882448379 6026 43.2691882448379 6118 43.2730574365887 6118 43.2730574365887 6118 43.2730574365887 6210 43.5387306727853 6210 43.5387306727853 6210 43.5387306727853 6300 43.8991230747233 6300 43.8991230747233 6300 43.8991230747233 6391 43.6608214133575 6391 43.6608214133575 6391 43.6608214133575 6483 43.1138630056904 6483 43.1138630056904 6483 43.1138630056904 6575 43.2501126226256 6575 43.2501126226256 6575 43.2501126226256 6665 44.2779659456214 6665 44.2779659456214 6665 44.2779659456214 6756 44.4656301935504 6756 44.4656301935504 6756 44.4656301935504 6848 44.8880479357376 6848 44.8880479357376 6848 44.8880479357376 6940 45.7661855028228 6940 45.7661855028228 6940 45.7661855028228 7030 46.2921928285207 7030 46.2921928285207 7030 46.2921928285207 7121 47.2898867311011 7121 47.2898867311011 7121 47.2898867311011 7213 47.0522609110891 7213 47.0522609110891 7213 47.0522609110891 7305 47.3988999414764 7305 47.3988999414764 7305 47.3988999414764 7396 46.4036221717359 7396 46.4036221717359 7396 46.4036221717359 7487 47.2087857686396 7487 47.2087857686396 7487 47.2087857686396 7579 48.2705156394969 7579 48.2705156394969 7579 48.2705156394969 7671 48.7051830062226 7671 48.7051830062226 7671 48.7051830062226 7761 48.2996444018477 7761 48.2996444018477 7761 48.2996444018477 7852 48.559201273792 7852 48.559201273792 7852 48.559201273792 7944 49.4717560618217 7944 49.4717560618217 7944 49.4717560618217 8036 49.0866278663329 8036 49.0866278663329 8036 49.0866278663329 8126 49.9375797149597 8126 49.9375797149597 8126 49.9375797149597 8217 48.6674541626442 8217 48.6674541626442 8217 48.6674541626442 8309 46.0683710681609 end format %td date expand 3 bysort date : gen qdate = yq(date, _n) by date: replace ipau= . if _n > 1 gen logw = log(ipau) ipolate ipau time1 gen(linear) epolate
Comment