A Disaggregated Econometric Model Based on Flexible Functional Forms