Hi!
I like to create a scatter plot where I can show simultaneously for 10 industries the average firm_size for each year by having multiple courses (sperated by different coulours) in one chart.
Is that possible in stata? Until now I was only able to create a distribution dependent by one variable :
I thought about an if-operator but if I repeat this command it obviously says that I gernate the variable before:
Do you have any advice for me that is replicable displaybale in the graph afterwards?
Many thanks!
I like to create a scatter plot where I can show simultaneously for 10 industries the average firm_size for each year by having multiple courses (sperated by different coulours) in one chart.
Is that possible in stata? Until now I was only able to create a distribution dependent by one variable :
Code:
bysort year: egen av_firm_size = mean(firm_size)
Code:
bysort year: egen av_firm_size = mean(firm_size) if SIC_1==1
Many thanks!

Comment