Dear Statalisters
I am using the *Sequence analysis with Stata' package to visualize body weight changes over time using
For now, I can only shown 'n' on the y-axis, but I would like to have proportions instead.
Anyone who know how to do this? I have attached the plot and my code.
I have tried
but it does not show how people changes weight status.
Kind regards,
Jannie
I am using the *Sequence analysis with Stata' package to visualize body weight changes over time using
Code:
sqindexplot
Anyone who know how to do this? I have attached the plot and my code.
I have tried
Code:
sqpercentageplot
Kind regards,
Jannie
Code:
sqindexplot if Asample==1, color(green yellow orange red black) graphregion( color(white) ) legend (rows(5) size(vsmall)) ///
xtitle("Years of follow-up") xlabel(0 "0" 1 "2" 2 "4" 3 "6" 4 "8" 5 "10" 6 "12" 7 "14" 8 "16" 9 "18" 10 "20" 11 "22") ///
ytitle("n", height(10))

Comment