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: Stata 12 -twoway function, horizontal recast(area)- bug affecting -confunnel-
From
Hua Peng <[email protected]>
To
[email protected]
Subject
Re: st: Stata 12 -twoway function, horizontal recast(area)- bug affecting -confunnel-
Date
Tue, 27 Mar 2012 11:09:15 -0500
Tom Palmer <[email protected]> reported
> There is a problem in Stata version 12.1 (and 12.0) when -twoway
function-
> is used with the -horizontal- and -recast(area)- options. In the
following
> the second overlaid plot is drawn incorrectly:
>
> twoway function x, horizontal || function x, horizontal recast(area)
>
> The bug does not occur when I run this code in Stata version 11.2, but
> strangely does occur in Stata 12.1 under version control, i.e. the above
> command prefixed with say -version 11.2:-
>
> My -confunnel- program (for contour enhanced funnel plots in
meta-analysis)
> uses commands like this and hence its plots under Stata 12 with shaded
> regions (the default) are now incorrect, luckily -confunnel- plots using
> the -noshadedregions- option are unaffected.
>
In the 06feb2012 update of Stata 12, -twoway area- was changed to use an
internal drawing routine that is significantly faster over large datasets.
A bug was introduced in the process which drew the plot incorrectly if
the -horizontal- option was used.
We will fix the bug in the next executable update.
Hua
[email protected]
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/