how many dummies for a two-category attribute
one (avoid the dummy variable trap).
interpreting a dummy in levels
β for dummy = level difference vs the omitted base group.
log-level model (log y on x)
1-unit increase in x changes y by ≈100×β% (exact: 100(e^β−1)%).
Level-log model (y on log x)
1% increase in x changes y by β/100 units.
Log-log model (elasticity form)
% increase in x changes y by β% (β is elasticity).
Dummy in log-level model
Exact % effect = 100×(e^β−1).
Quadratic model marginal effect
dE[y]/dx=β1+2β2 x; turning point at −β1/(2β2).
When to log a variable?
Positive, right-skewed variables where proportional changes are meaningful.