Agricultural modelling: an econometric approach