Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: : st: Fwd: denton command
From
Lanciné Condé <[email protected]>
To
[email protected]
Subject
Re: Re: : st: Fwd: denton command
Date
Fri, 26 Apr 2013 14:01:06 +0200
Hi Kit
Thank you for your quickly answer. I am confused. My installed denton
routine version is A810 and I got stata(11 ). But the implementation
of denton routine still returned me the same error message [unknown
function dof.(); r(133);]. I am asking myself why? I am certainly
doing something wrong, but do not know what?
Best regards
2013/4/26 Christopher Baum <[email protected]>:
> On Apr 26, 2013, at 2:33 AM, Condela wrote:
>
>>
>> My log file
>>
>> use C:\Users\Desktop\indor.dta
>>
>> .tsset period
>>
>> time variable: period, 2001q1 to 2012q4
>>
>> delta: 1 quarter
>>
>> use C:\Users\Desktop\gdp.dta, clear
>>
>> tsset year
>>
>> time variable: year, 2001 to 2012
>>
>> delta: 1 unit
>>
>> denton gdp03 using gdpq, interp(indprod)
>> from(C:\Users\Desktop\indor.dta) generate(pibq)
>>
>> unknown function dof.()
>
> This worked fine for me:
>
>
> . clear all
>
> . insheet using quarter.csv
> (2 vars, 48 obs)
>
> . tsmktim period, start(2001q1)
> time variable: period, 2001q1 to 2012q4
> delta: 1 quarter
>
> . save quarter, replace
> file quarter.dta saved
>
> . insheet using year.csv, clear
> (2 vars, 12 obs)
>
> . tsset year, yearly
> time variable: year, 2001 to 2012
> delta: 1 year
>
> . save year, replace
> file year.dta saved
>
> .
> . which denton
> /Users/cfbaum/Library/Application Support/Stata/ado/plus/d/denton.ado
> *! denton 1.1.0 sh/cfb A810
>
> . denton gdp03 using newfile, interp(indprod) from(~/desktop/quarter.dta) gen(pibq)
>
> pibq is interpolated from the yearly series gdp03 using the quarterly series indprod
> pibq is saved in newfile for the period:2001q1 to 2012q4
>
>
> Kit
>
> Kit Baum | Boston College Economics & DIW Berlin | http://ideas.repec.org/e/pba1.html
> An Introduction to Stata Programming | http://www.stata-press.com/books/isp.html
> An Introduction to Modern Econometrics Using Stata | http://www.stata-press.com/books/imeus.html
> | http://www.crup.com.cn/Item/111779.aspx
>
>
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/faqs/resources/statalist-faq/
> * http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/