You should plot -fpfit- lines on top.
Nick
On Thu, Jan 3, 2013 at 10:36 PM, Amy Hsin <hsin.amy@gmail.com> wrote:
>> I am trying to graph the following in Stata. The problem that I am
>> encountering is that the shaded area associated with the CI of
>> "whites" overlaps with the fitted line of "Asians" and therefore parts
>> of the fitted line is obstructed. How do I make it so that this does
>> not happen? I would like both the fitted lines in the foreground and
>> the shaded areas to be in the background.
>>
>> I have tried reversing the order in which the lines are inputted but
>> that creates even greater problems because the CI for Asians is so
>> large that the line for Whites would not be visible.
>>
>> twoway (fpfitci c_lag_rability wave if asian [aw=weight], clcolor(red)
>> clstyle(foreground)) ///
>> (fpfitci c_lag_rability wave if !asian [aw=weight], clcolor(blue)
>> clstyle(foreground))
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/