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: Stata 12 -twoway function, horizontal recast(area)- bug affecting -confunnel-

From   Hua Peng <>
Subject   Re: st: Stata 12 -twoway function, horizontal recast(area)- bug affecting -confunnel-
Date   Tue, 27 Mar 2012 11:09:15 -0500

Tom Palmer <> 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.


*   For searches and help try:

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