Announcement

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

  • Difference in Difference method

    Hi everyone, I'm new, so I apologize for making some mistakes.
    I have this excel file with this data. I wanted to run a DID regression to analyze the effect of the RBI starting from 2014 on the FdI stock regarding the listed countries. I run the command:
    didregress (FdIst) (RBI), group(FdIst) time(time)
    But I recived the following message: group variable FdIst may not contain noninteger or negative values
    Any ideas about how to run this smoothly?
    Thank you for your help! DID method.xlsx

  • #2
    Please, do read the FAQ. It'll show you how to ask questions, as well as present your data to us

    Comment


    • #3
      Also look up the help file of -didregress-.

      Your syntax

      Code:
      didregress (FdIst) (RBI), group(FdIst) time(time)
      is specifying the same variable as group variable and outcome variable. This cannot be right.

      Comment

      Working...
      X