# NOT RUN {
# Load trade data
data(trade)
# We estimate the effect of distance on trade
# => we account for 3 fixed-effects (FEs)
est_pois = femlm(Euros ~ log(dist_km)|Origin+Destination+Product, trade)
# displaying the results
# (by default SEs are clustered if FEs are used)
print(est_pois)
# By default the coefficient table is displayed.
# If the user wished to display only the coefficents, use option type:
print(est_pois, type = "coef")
# }
# NOT RUN {
# To permanently display coef. only, use setFixest_print.type:
setFixest_print.type("coef")
est_pois
# back to default:
setFixest_print.type("table")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab