I have a panel data set and each observation is identified by an ID and a date. For example, there are 100 firms and 120 monthly observations for each firm.
I want to plot monthly cross-sectional averages and cross-sectional standard deviations for 2 variables in a single figure. The standard deviations should be shown in a similar way as confidence intervals in -coefplot-. From what I attempted, -xtgraph- does not allow -twoway-. Is there a good solution for this goal?
Related Posts with Panel data: plot the time series of cross-sectional averages and standard deviations for 2 variables
Trying to open shapefile but Stata looks for .dbf fileHello, I am trying to open a shapefile under the name "pga.shp" that I downloaded from the US Geolo…
How to delete observation if one of these variables missing?A common practice to reduce the size of the panel sample (to reduce the time that Stata process the …
What is the ideal way to keep only needed variables in panal dataset?I have around 40 variables in my dataset but I actually only use around 8 of them. I assume that kee…
2SLS: Interpretation of ResultsHi - I am working with panel data (US industrials, 2000-2019) and am researching the impact of firm …
How to list all unique values based on value of another variable?Hi all, I am conducting a cross-country analysis. I have a variable named developed has the value of…
Subscribe to:
Post Comments (Atom)
0 Response to Panel data: plot the time series of cross-sectional averages and standard deviations for 2 variables
Post a Comment