Dear all,
Is there any easy command or way to make a trajectory plot using WIDE format without reshaping it to long format?
So far I found the user-written command profileplot which is easy and convenient by simply inputting:
profileplot time1 time2 time3 time4, by(id)
However, profileplot has limited graph options; for example, unable to adjust axis scale and axis label font.
The rest choices like xtline, graph twoway line, traj package, etc. requires long format data.
I tried to avoid reshaping data, each reshaping increases the risk to cause error.
profileplot command is really a smart creation. Why STATA did not continue to develop more comprehensive graph options on profileplot command?
Thank you and looking forwards to any solution.
Related Posts with To make Trajectory Plot directly using WIDE data format without reshaping to long format
Categorize a group of countriesI have a 95 countries that I want to categorize them into High Income, Upper Middle Income, Lower Mi…
Displaying percentages in bar graph (catplot)Hi, I am using catplot from SSC to graph the distribution of my sample (panel data), categorized by…
Produce a list of unique values (not using tab or list)I am wondering if there is a way to ask Stata to produce a list of a variables unique values. For ex…
Coefplot - plot Estimates on right axisDear Statalisters I am very fond of the flexible coefplot and use it to graph all my models these d…
How would you regress this without employing an independent variable?Analyzing the value of deals in joint ventures. Made two samples: domestic joint ventures per year, …
Subscribe to:
Post Comments (Atom)
0 Response to To make Trajectory Plot directly using WIDE data format without reshaping to long format
Post a Comment