thanks, that helps a lot!
Patricia
----- Ursprüngliche Mail ----
Von: Martin Weiss <[email protected]>
An: [email protected]
Gesendet: Montag, den 15. Juni 2009, 15:55:12 Uhr
Betreff: st: Re: overlay option for predxcon
<>
-findit predxcon- leads to sources for the command...
Seems to me to be straightforward to replicate its ouput via -tw (lfit)- which let`s you overlay as much as you could possibly want to...
***
sysuse auto, clear
su pr, mean
predxcon we, xvar(pr) /*
*/from(`r(min)') to(`r(max)') /*
*/gra model nol class(f) /*
*/ name(mygr2, replace)
tw (lfit weight price if !f, lwidth(vthick))/*
*/ (lfit weight price if f, lwidth(vthick)),/*
*/ name(mygr, replace)
***
HTH
Martin
_______________________
----- Original Message ----- From: "P K" <[email protected]>
To: <[email protected]>
Sent: Monday, June 15, 2009 9:36 PM
Subject: st: overlay option for predxcon
> Hi,
>
> I am trying to create a single graph from 3 different graphs produced with the predxcon command in STATA (see below).
>
> predxcon AverChangeROEadj2, xvar(duration_change) from(0) to(10) inc(1) class(prior_slack_avail2_intermed) graph
> predxcon AverChangeROEadj2, xvar(duration_change) from(0) to(10) inc(1) class(prior_slack_avail2_HIGH) graph
> predxcon AverChangeROEadj2, xvar(duration_change) from(0) to(10) inc(1) class(prior_slack_avail2_LOW) graph
>
>
> The "graph combine" command only gives me one picture with all 3 separate graphs.
>
> However, I would like to produce a single graph with all overlapping graphs for prior_slack_avail2_intermed=1, prior_slack_avail2_HIGH=1 and
> prior_slack_avail2_LOW=1. (all three variables are dummy variables).
>
> Any hints on how to do this with the overlay option or any other command (adding overlay after the command didn't work in my case)?
>
> Thanks,
> Pat
>
>
>
>
> *
> * 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/
>
*
* 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/
*
* 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/