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   Roger Newson <[email protected]>
To   [email protected]
Subject   RE: st: Strange interaction between weights and the -connect()- option
Date   Wed, 15 Sep 2004 18:51:56 +0100

Thanks to Derek for his prompt and helpful reply. And thanks in advance to StataCorp for fixing the problem in the next executable update, which I look forward to installing and using.

Roger


At 17:27 15/09/2004, Derek Wagner wrote:

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/

--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
  or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]
Website: http://www.kcl-phs.org.uk/rogernewson

Opinions expressed are those of the author, not the institution.

*
*   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