Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Svyset in an ado file


From   Oscar Barriga Cabanillas <obcabanillas@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Svyset in an ado file
Date   Thu, 1 Nov 2012 18:00:07 -0400

Nick thank you. As soon as I declar version 8 svyset starts to work.

Best,

Oscar

On 1 November 2012 14:34, Nick Cox <njcoxstata@gmail.com> wrote:
> Need to know more about your code. Is there a -version- statement? See
> also concurrent thread, especially
>
> http://www.stata.com/statalist/archive/2012-11/msg00043.html
>
> On Thu, Nov 1, 2012 at 6:20 PM, Oscar Barriga Cabanillas
> <obcabanillas@gmail.com> wrote:
>> Dear all,
>>
>> I have a question about the use of svyset.
>>
>> I am writing an ado file that calculates some measures of poverty, and
>> in some point it is neccesary that it called the survey option
>> throughsvyset.
>>
>> When I write in the command line svyset psu  [w=pondera]  ,
>> strata(stratum) svyset works fine, but when I called in the ado, it
>> drops an error: keyword incorrect, or varlist required.
>>
>> I have set set trace on, and during running the ado it recognizes the
>> variables but it stop doing so once svyset starts running.
>>
>>
>> Thanks for your help!
>> *
>> *   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/
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index