Announcement

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

  • Finding time trends in each variable

    I am working with panel data of 311 local authorities over 20 quarters. Is there a simple way to find the average of a variable across local authorities at each point in time? I want to observe how each of my variables changes over time?

    Thanks!

  • #2
    Code:
    by time, sort: egen mean_x = mean(x)

    Comment


    • #3
      Thank you!

      Comment

      Working...
      X