Essays in empirical law and economics