A parametric regression model by minimum L2 criterion: a study on hydrocarbon pollution of electrical transformers