Three essays in non-linear macroeconometrics