Code for the Criteria Proposed in "Estimating the Production Function Under