I have data about companies' performance over time and a variable that identifies uncertainty periods by state of incorporation. I would like to graph companies' performance during uncertainty periods, but the uncertainty periods vary across companies. So I am not sure the best way to graph this data?
see example below
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input byte stateid int(firmid year) float(performance uncertainty) 1 10010 1994 .0894412 0 1 10010 1991 .0207386 0 1 10010 1992 .0387597 0 1 10010 1993 .0966105 0 1 10012 2002 .0738338 1 1 10012 2000 .0391909 1 1 10012 1995 .0050087 0 1 10012 2003 .0986469 1 1 10012 1997 .02295 0 1 10012 1991 .0143952 0 1 10012 1999 .008036 0 1 10012 1998 .0302348 0 1 10012 1996 .0177345 0 1 10012 1992 .0079708 0 1 10012 1993 .0124058 0 1 10012 2001 .0288672 1 1 10012 1994 .0182261 0 2 12012 1991 .22 0 2 12012 1992 .1 0 2 12012 1995 .12 0 2 12012 2000 .11 1 2 12012 2002 .25 0 2 3115 2000 .01 1 2 3115 2001 .09 0 2 3115 2002 .1 0 3 2020 1997 .08 0 3 2020 1998 .07 0 3 2020 1999 .05 0 3 2020 2000 .02 1 3 2020 2002 .07 0 3 2021 2000 .05 1 3 2021 2001 .1 1 3 2021 2002 .01 0 3 2021 2003 .09 0 3 2021 2004 0 0 3 2025 2000 .01 1 3 2025 2001 .022 1 3 2025 2002 .099 0 3 2025 2003 .02 0 3 2025 2004 .01 0 end
Thanks in advance
0 Response to graph
Post a Comment