Announcement

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

  • How to perform mediation analysis with long panel data set?

    I am using the SEM and am trying to perform mediation analysis for dataset covering 48 years. The model works but I am not sure if the data set is being treated as panel. How to perform mediation analysis with such dataset?

    Thank you so much for your support!
    Krizia

  • #2
    The documentation has examples of setting up a panel estimator.

    Comment


    • #3
      Originally posted by Phil Bromiley View Post
      The documentation has examples of setting up a panel estimator.
      Hello

      Yes there is the xtset command but I am using the SEM builder and there are no examples on how to treat panel data.. The only difference I found so far is to set data from long to wide but this is near to impossible to perform because I have 48 years in my dataset with 50+ vars.. Is there any other way to do this aside from the "long to wide" format?

      Regards
      Krizia

      Comment

      Working...
      X