I'm trying to make my first DID regression on STATA for my economics course.
You can see my variables in the photo below. Price shows log price of property's. Time is my time variable. Then I have treatment variable that takes the value 0 before the treatment and 1 after the treatment. Lastly I have. group variable that takes value 0 for the control group, and 1 for the treatment group.
Then I try to perform the DID manually in statistics. I put in price as dependent variable, time as: time variable, treatment as treatment variable, and group as group variable. I also run a binary DID. But when I then proceed I get the fault: None of the groups defined by group is a control. Would be thankful if someone could help me

You can see my variables in the photo below. Price shows log price of property's. Time is my time variable. Then I have treatment variable that takes the value 0 before the treatment and 1 after the treatment. Lastly I have. group variable that takes value 0 for the control group, and 1 for the treatment group.
Then I try to perform the DID manually in statistics. I put in price as dependent variable, time as: time variable, treatment as treatment variable, and group as group variable. I also run a binary DID. But when I then proceed I get the fault: None of the groups defined by group is a control. Would be thankful if someone could help me

Comment