Fitting of parametric models using summary statistics