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
How to make it as a program?Hi All, I am trying to make this as a program. Any help? Below is my code. Thanks clear set seed 12…
Creating an indicator variable from multiple, non-mutually exclusive, dummy variablesHi! I'm trying to create an indicator variable from several dummy variables (which are not mutually …
fuzzy matchI am new to using the matchit command and finding it challenging to understand what the different op…
smcl and putpdf textIs it possible to somehow use math symbols with putpdf? I tried various versions of this with approx…
Collapse by a variable, while preserving others and creating new variablesHi, I have a dataset on property transactions (a sample below, for those of you from the UK, this i…
Subscribe to:
Post Comments (Atom)
0 Response to Line graph (mean) with panel data
Post a Comment