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]
st: How to graph several mean trajectories and combine them in a single graph
From
"Han-Jung Ko (Koko)" <[email protected]>
To
[email protected]
Subject
st: How to graph several mean trajectories and combine them in a single graph
Date
Mon, 24 Feb 2014 14:44:32 -0600
Hi, all,
I am trying to graph several mean trajectories and combine them in a
single graph. By using profileplot command, it is possible to graph
them side-by-side but not in a single graph.
For example,
. profileplot pl_1 pl_2 pl_3 pl_4 pl_5, by(sex) name(graph_pl, replace)
. profileplot pg_1 pg_2 pg_3 pg_4 pg_5, by(sex) name(graph_pg, replace)
. graph combine graph_pl graph_pg
However, using profileplot command also requires the option by(). I
wonder how I could graph the meantrajectories for all participants
(not by gender) and combine the total of six trajectories together?
Thank you for the sharing in advance!
Sincerely,
Han-Jung Ko
Han-Jung Ko, M.S.
Doctoral Candidate
Human Development and Family Studies
School of Social and Behavioral Health Sciences
Oregon State University
[email protected]
*
* 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/