Text this: Estimation issues and mathematical derivation of educational production function