Hi to everyone,
In a course I am attending, I am asked to reproduce a study presented in a paper and related to the psychological costs of a new currency adoption. In the paper - through a difference-in-difference approach - they try to estimante the change in personal economic utility perceived by individuals after the adoption of euro in Slovakia. The control group is represented by Czech Republic.
So far, I estimated the DD estimator through different approaches (OLS, 2x2 table, etc). My doubts are mainly concerned with two aspects:
collapse (mean) stfeco, by (essround country)
reshape wide stfeco, i(essround) j(country)
graph twoway connected stfeco* essround if essround < 1
restore
xtset panelvar
xtreg stfeco i.country##c.essround if essround < 1
margins country, dydx(essround)
In a course I am attending, I am asked to reproduce a study presented in a paper and related to the psychological costs of a new currency adoption. In the paper - through a difference-in-difference approach - they try to estimante the change in personal economic utility perceived by individuals after the adoption of euro in Slovakia. The control group is represented by Czech Republic.
So far, I estimated the DD estimator through different approaches (OLS, 2x2 table, etc). My doubts are mainly concerned with two aspects:
- How do I estimate the DD estimator using the command didregress ( didregress (ovar omvarlist) (tvar[, continuous]) [if] [in] [weight], group(groupvars) [time(timevar) options])? Better to say, which one would be my groupvars?
- How can I test the parallel trends assumption in the case - like the one we have - of cross-sectional data and how can we graph it? I tried in the following way, but this works only in case of panel data:
collapse (mean) stfeco, by (essround country)
reshape wide stfeco, i(essround) j(country)
graph twoway connected stfeco* essround if essround < 1
restore
xtset panelvar
xtreg stfeco i.country##c.essround if essround < 1
margins country, dydx(essround)
Comment