Uncovering Economic Behavior in Heterogeneous Institutional Environments: Three Essays in Applied and Experimental Economics