Hi,
Does any one know how to add year and industry fixed effect (sum of Year fixed effecti,t) as control variable in diff command?
I tried to use diff command to execute the DID estimation. However, the general code is: diff y,treat(varname) period(varname) cov(z1 z2) robust
Then I tried to add i.year and i.industry in as what usually did in normal regression, however, it doesn't work.
Appreciate in advance!
Related Posts with DID issue-----how to add industry and fixed effect to diff command
"Decode" Command on Numeric Variables - Grave IssuesHello, I am appending several rounds/datasets from different demographic and health surveys. The va…
the regression command with moderate variableHi all I am new using Stat and I have problem with multiple regression with a moderating variable. a…
How to interpret goodness of fit for multivariate logistic regression modelDear STATA technicians, I am Hatem Ali, STATA user. Serial number: 301506305680 I am attaching to t…
Comparing median at 2 pointsDear Stata users, I am wondering, is it possible to compare the median of continuous variable (V1-s…
Graph Observed versus PredictedDear Statalisters, I work on prediction of outcome (neurological outcome 0 or 1) with a score which…
Subscribe to:
Post Comments (Atom)
0 Response to DID issue-----how to add industry and fixed effect to diff command
Post a Comment