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: Questions abou svyset and svyselmlog


From   Steve Samuels <[email protected]>
To   [email protected]
Subject   Re: st: Questions abou svyset and svyselmlog
Date   Thu, 1 Nov 2012 13:46:36 -0400

The Version 8 -svyset- syntax is:

. version 8: svyset [pw = wt_var], psu(psu_var) strata(strata_var) clear(all)

Steve


On Oct 31, 2012, at 1:30 PM, Nick Cox wrote:

I'm not a statistician, but I think I can say something here.

-svyselmlog- (SSC) was written for Stata 8, as -ssc describe
svyselmlog- makes clear.

As -help version- makes clear, -svyset- changed in version 9.
Therefore, as the error message tells you,  you need to call -svyset-
under version control. The start of that is easy

. version 8 : svyset <whatever>

Unfortunately, you will need access to the documentation for Stata 8
to find out what the <whatever> should be.

Nick

P.S. Stata, not STATA.

On Wed, Oct 31, 2012 at 5:16 PM, Luiz Gama <[email protected]> wrote:
> Dear statisticians,
> 
> 
>    I am now working on my dissertation and I am stuck by a STATA
> command. Basically, I want to run an multinomial logit with selection
> correction. I am going to use the command svyselmlog in stata 11.
> However, after use the command svyset, when using the comand
> svyselmlog an  error like this happens:
> 
> data not set up for the old survey estimation commands; use svyset
> under version control or use the new svy prefix
> 
> I've tried several different ways the command svyset and always the
> same error appears  when I'm using the command svyselmlog.
> 
*
*   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