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, is already up and running.

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

Re: st: bad update? can't set level for weighted tabs

From   Nick Winter <>
Subject   Re: st: bad update? can't set level for weighted tabs
Date   Tue, 19 Oct 2010 17:55:14 -0400

I reproduced the error, too. I also found, though, that as a work-around, you can -set level 80- before running the -svy: tab-:

. set level 80
. svy: tab vara varb, ci

Nick Winter

On 10/19/2010 5:02 PM, Steve Samuels wrote:
Also not working on Stata  SE 11.1.  It looks like a bug to me. I
forwarded this to support.


On Tue, Oct 19, 2010 at 4:29 PM, Graham Wright<>  wrote:
First off, we're in version 11.1

So we all admit that this is valid syntax

svyset [pweight=wt3]
svy: tab vara varb, ci level(80)


It does a weighted tab of two vars and gives you confidence intervals, but
at the 80% level instead of 95. I've used code like this all the time
because we did a study where we reported everything at 80% cis for random

This syntax works on my computer, and on MOST of my coworker's computer, but
for one of us, it doesn't used to, but it doesn't now. It
generates an error message "option level() not allowed."  The strange thing
is that he has multiple version of stata (one on his work computer and one
on his laptop) and it dosen't work on EITHER of them, but works on mine, and
another 2 coworkers' computers. The only thing that I can think of that's
different about him is that he has actually updated, and is running the sept
30th update, whereas the rest of us are lazy and haven't updated since July.
  Now I'm scared to update, since I don't want this to start happening to me,
and I don't know if it's possible to un-update.

fun stuff:
-this only dosen't work on weighted tabs, the following code: "svy:reg vara
varb, level(80)"  works fine
-if you type svy: tab vara varb, ci l(80) you get the same message (option
level() not found) so stata recognizes the command, just doesn't think it's
a valid option for tab.

So my question is

1) does anyone else have this problem?
2) does this seem to be due to a buggy update?
3) If so, a) can someone tell stata about this? b) is there a way to
rollback updated to a previous version?


*   For searches and help try:

*   For searches and help try:

Nicholas Winter                                 434.924.6994 t
Assistant Professor                             434.924.3359 f
Department of Politics         e
University of Virginia w
S385 Gibson Hall, South Lawn
*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index