Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Panel data: plot the time series of cross-sectional averages and standard deviations for 2 variables

    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?

  • #2
    If you cannot find better help, it looks like you could follow this guide to create your own scatter and spike graph: https://stats.idre.ucla.edu/stata/co...twoway-graphs/

    Comment

    Working...
    X