Please help!
I have a simple, balanced longitudinal data set. I xtset the data and then run xtline. Each time I run xtline I am getting a completely different graph that does not reflect the summary data.
Any ideas why this is happening and how I can fix it??
Below is my code:
egen id = group(study_id)
sort id visit_month
drop study_id
xtset id visit_month
bysort arm visit_month: sum hfais_summary
xtline hfais_summary, recast(connected) i(id) t(visit_month)
bysort arm visit_month: sum wealthscore
xtline wealthscore, recast(connected) i(arm) t(visit_month)
bysort arm visit_month: sum social_support_sum
xtline social_support_sum, recast(connected) i(arm) t(visit_month)
Related Posts with HELP! xtline producing different graphs each run
Marginsplot, legend and by()Dear Stata Users, I am producing a graph with marginsplot throug the following commands and options…
Average Net Migration RateHi all. Good Morning. This is my first post here, but I have been consulting you, thank you for your…
Bar Graph - Highlight Specific BarArray I have generated the above graph using the following code : Code: graph bar, over(region) bl…
composing two different summary statistics tables with one dataset.Hello again, I'm working on a project on which I have to analyse VC-backed ICOs with non-VC-backed …
Linear regression model, volatility measure, stock return predictabilityHi, Statalist! I am writing a thesis on the stock market predictability, using a linear regression…
Subscribe to:
Post Comments (Atom)
0 Response to HELP! xtline producing different graphs each run
Post a Comment