The constant elasticity of substitution (CES) function is an important function that is widely used in both theoretical analysis and applied economics. We propose a systematic framework to estimate the deep nested CES function using the nonlinear least squares (NLS) method. This method fills the...