Bookmark and Share

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: st: Synth - Quarterly Data


From   "Dimitriy V. Masterov" <[email protected]>
To   Statalist <[email protected]>
Subject   Re: st: Synth - Quarterly Data
Date   Thu, 27 Mar 2014 14:14:50 -0700

I am away from my computer so I cannot be 100% certain, but I believe
this is because the syntax calls for a numeric list and you're using
strings. Try doing something like `=tq(2007q1)'.

DVM

On Thu, Mar 27, 2014 at 2:04 PM, Fonseca-Ferreira,V  (pgt)
<[email protected]> wrote:
> Dear all,
>
> I am studying counter factual GDP responses of the 2004 European Union entrants during the crisis in the absence of the Euro, and I intend to use the Synthetic Control Group Method from Alberto Abadie (synth command in stata).
> I have been trying to run it with quarterly data,but Stata does not seem to be able to recognize it, even though it seems to understand that I am working with quarterly data, according to the tsset function:
>
> . tsset  Country date
>        panel variable:  Country (strongly balanced)
>         time variable:  date, 1993q2 to 2013q4
>                 delta:  1 quarter
>
> When I try to run :
> synth  ln_GDP ln_GDP_1 ln_C ln_I ln_GC ln_X ln_M , trunit(33) trperiod(2007q1)figure counit(6 16 21 22 28) xperiod(1995q2(1) 2006q4) mspeperiod(1995q2(1) 2006q4) resultsperiod(1995q2(1) 2013q3) nested keep(Slovenia)
>
> I get the error message "trperiod() invalid -- invalid number r(121);" where trperiod(2007q1) is the period the treatment "Euro" was introduced in Slovenia. I believe the problem lies in the "q" in "2007q1", and that this would also be a problem for xperiod; mspeperiod; and resultsperiod. Any ideas on how can I correct this?
>
>
> Thanks,
> Best Regards,
>
> Vitor Ferreira
>
> *
> *   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index