A mathematical development regarding the minimization of residual least squares is presented. A statistically valid objective function of the complex nonlinear regression problem is obtained. A global search stochastic optimization algorithm is used on an electrochemical impedance system modelling problem. The population based stochastic method was used directly to obtain confidence regions to the estimated parameters. A Sensitivity Analysis was performedto assess the influence of each parameter onreal and imaginary parts of the model.