Discrete techniques of parameter estimation--The equation error formulation