Hello everyone,
I currently try to interpolate a gdp series with the command "denton", with the Industrial Prodution Index ("ipi") as indicator variable.
I first created a .dta files where I defined the ipi as a times serie :
I copy-pasted the data from my excel files and coded :
I just coded that and saved the .dta files
I then created another .dta files with the gdp variable :
and specified the directory
I thought it was enough to use the denton command :
But I had an error message :
And I don't understand why.
Does someone understnd where I made a mistake and how to solve it ?
Sincerely,
I currently try to interpolate a gdp series with the command "denton", with the Industrial Prodution Index ("ipi") as indicator variable.
I first created a .dta files where I defined the ipi as a times serie :
I copy-pasted the data from my excel files and coded :
HTML Code:
generate t=tm(1999m1)+ _n -1 format t%tm tsset t
I then created another .dta files with the gdp variable :
HTML Code:
generate t=tq(1999q1)+ _n -1 format t%tq tsset t
HTML Code:
cd "C:\User..."
HTML Code:
denton gdp using gdpdat.dta, interp(ipi) from (ipi.dta) generate(gdpinterp)
HTML Code:
variable t already defined
Does someone understnd where I made a mistake and how to solve it ?
Sincerely,
Comment