Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Strange interaction between weights and the -connect()- option


From   [email protected] (Derek Wagner, StataCorp)
To   [email protected]
Subject   RE: st: Strange interaction between weights and the -connect()- option
Date   Wed, 15 Sep 2004 11:27:12 -0500

Roger Newson wrote:

> Has anybody else experienced a strange interaction between weights 
> and the -connect()- option under -graph twoway-? I find that weights 
> can cause the -connect()- option not to work correctly. (I use the very 
> latest Stata as of today, ie version 8.2 with the executable of 23 Jul 
> 2004 and the ado-files of 01 Sep 2004, under Windows 2000.)
> 
> For instance, if in the -auto- data I type
> 
> scatter mpg weight [fwei=rep78], connect(L) sort
> 
> or even if I type
> 
> scatter mpg weight [fwei=rep78], connect(L) sort(weight)
> 
> then the symbols are weighted, but are connected as if I had typed
> 
> scatter mpg weight [fwei=rep78], connect(L)
> 
> (ie the -sort- option is disabled).
> 

As Roger noted, when weights are added to -twoway scatter and/or -twoway
connected-, the -sort- option becomes disabled.  This behavior
has recently been fixed and the correction will be available in the next 
executable update.  

Derek Wagner
<[email protected]>
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index