Credit risk is crucial to understanding banks' production technology and should be explicitly accounted for when modeling the latter. The banking literature has largely accounted for risk by using ex-post realizations of banks' uncertain outputs and the variables intended to capture risk. This...