Hey Stata community,
I tried to plot something using a panel data set and the "line" command (sales over time from 20 different companies).
Unfortunately, Stata shows me for each company separate lines. I just want to have 1 line over time (the mean of sales from all companies).
To demonstrate, I added a graph.
How can I see the mean line instead of 20 lines in the plot? Is there a mean-command that works?
Many thanks and best regards!
Array
Related Posts with Line graph (mean) with panel data
Modelling time in GLMM and interpreting resultsHi guys, I'm looking to see how several binary dependent variables (for eg. alcohol use yes/no code…
Using estat icc as postestimation after melogitDear all, I am running a multilevel mixed effects logistic regression model using melogit. I want t…
First Difference vs. Fixed Effects with multiple-year dataHello, I'm trying to run FD and FE on my dataset. The results are supposed to be the same but someh…
Suest command implementation with more than 300 estimates storedDear community, I hope all of you are doing well. I am currently working on a project where I need…
Mixed model , percentage changeI have a mixed effect model with unequal repeated measures rangr from time 1 to time 20. All subject…
Subscribe to:
Post Comments (Atom)
0 Response to Line graph (mean) with panel data
Post a Comment