Announcement

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

  • Pseudo-Panel Data

    I am working with repeated cross-sectional data, 2000-2005, and want to use a pseudo-panel approach. I want to create clusters with individuals from the same region (variable reg).
    Can someone help me with the commands to create clusters, and how to make state recognize the clusters when running the regression with other variables as well?

  • #2
    Jeta:
    assuming that what follows makes sense from a methodological point of view, you may want to try:
    Code:
    egen new_panelid=group(panelid reg)
    Kind regards,
    Carlo
    (Stata 19.0)

    Comment


    • #3
      Thank you Carlo

      Comment

      Working...
      X