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
Trying to combine several graphsDear Statalist, I want to combine in a single graph (image) several marginsplot done through contou…
outreg2 with e(jp)Hi, I have a wierd problem. Previously, when I define the path as: cd "F:\360CloudUp\Research\Proj…
Having Trouble Understanding Structural Break Test (-sbknown-) +other odditiesCouple of questions about Wald structural break test- (running latest Stata in Win 10) When running…
Test of Endogeneity after Fixed and Random EffectsHi Dear, Is there any test of endogeneity after running xtreg, fe or re? Thank you. …
xtreg, fe and xtreg, re when T>NHi Dear, Can we use xtreg, fe and xtreg, re when T>N in our panel data? Many Thanks. …
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