Essays on the microeconomics of credit and households.