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: A Model with Multi-logit Selection Equation


From   Nick Cox <njcoxstata@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: A Model with Multi-logit Selection Equation
Date   Thu, 27 Feb 2014 09:25:41 +0000

You have an explanation

data not set up for the old survey estimation commands; use svyset
under version control or use the new svy prefix

-help version- says more

If you set version to less than 9

        1.  Command svyset reverts to pre-Stata 9 syntax and logic.
The dataset must be svyset by the
            pre-Stata 9 svyset command to use the pre-Stata 9
estimation commands svygnbreg,
            svyheckman, svyheckprob, svyivreg, svylogit, svymlogit,
svynbreg, svyologit, svyoprobit,
            svypoisson, svyprobit, and svyregress.

It doesn't mention -svyselmlog- because that is user-written.

That, however, is absolutely the limit of my knowledge on this, so any
further queries would have to be answered by someone else.

Nick
njcoxstata@gmail.com


On 27 February 2014 09:19, Yuval Arbel <yuval.arbel@gmail.com> wrote:
> Also, I tried to run the command (after using -svyset-), but I'm
> getting an error message. The question is - what am I doing wrong?
>
> Here is the output:
>
> . svyset ou,strata(faculty)
>
>       pweight: <none>
>           VCE: linearized
>   Single unit: missing
>      Strata 1: faculty
>          SU 1: ou
>         FPC 1: <zero>
>
> .  //svyselmlog wage x1 x2, select(occupation x1 x2 z1 z2) meth(dhl(3 all))
> . svyselmlog lgrades1 lbag2 ou lmatr_group1 if matr==1 & (faculty==1 |
> faculty==2 | faculty==3 | faculty==4), select(faculty math
>> 45 english45 ou math45_group1 english45_group1) meth(dhl(3 all))
> data not set up for the old survey estimation commands; use svyset
> under version control or use the new svy prefix
> r(119);
>
> On Thu, Feb 27, 2014 at 10:46 AM, Yuval Arbel <yuval.arbel@gmail.com> wrote:
>> Dear Statalisters,
>>
>> Can anyone apply me to a relevant (preferably Stata) material -
>> regarding the commands -selmlog- and -svyselmlog-?
>>
>> According to Stata's help - the author of -svyselmlog- command is
>> Rafael E. De-Hoyos - but the given link to his website is invalid.
>>
>> Also - a seemingly important review paper by Burguingon et. al. (2004)
>> - is an unpublished mimeo.
>>
>> As always - your assistance will be highly appreciated.
>>
>> --
>> Dr. Yuval Arbel
>> School of Business
>> Carmel Academic Center
>> 4 Shaar Palmer Street,
>> Haifa 33031, Israel
>> e-mail1: yuval.arbel@carmel.ac.il
>> e-mail2: yuval.arbel@gmail.com
>> You can access my latest IZA discussion paper at http://ftp.iza.org/dp7946.pdf
>> You can access my latest paper on SSRN at:  http://ssrn.com/abstract=2263398
>> You can access previous papers on SSRN at: http://ssrn.com/author=1313670
>> *
>> *   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/
>
>
>
> --
> Dr. Yuval Arbel
> School of Business
> Carmel Academic Center
> 4 Shaar Palmer Street,
> Haifa 33031, Israel
> e-mail1: yuval.arbel@carmel.ac.il
> e-mail2: yuval.arbel@gmail.com
> You can access my latest IZA discussion paper at http://ftp.iza.org/dp7946.pdf
> You can access my latest paper on SSRN at:  http://ssrn.com/abstract=2263398
> You can access previous papers on SSRN at: http://ssrn.com/author=1313670
> *
> *   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