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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: Questions abou svyset and svyselmlog


From   Steve Samuels <sjsamuels@gmail.com>
To   statalist@hsphsun2.harvard.edu
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 <lcdgama@gmail.com> 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index