Three essays in public economics