# NOT RUN {
# By default:
# - no fixed-effect (FE): standard
# - one or more FEs: cluster
data(base_did)
est_no_FE = feols(y ~ x1, base_did)
est_one_FE = feols(y ~ x1 | id, base_did)
est_two_FE = feols(y ~ x1 | id + period, base_did)
etable(est_no_FE, est_one_FE, est_two_FE)
# Changing the default standard-errors
setFixest_se(no_FE = "white", one_FE = "standard", two_FE = "twoway")
etable(est_no_FE, est_one_FE, est_two_FE)
# Reseting the defaults
setFixest_se()
# }
Run the code above in your browser using DataLab