Estimating parameters with Monte Carlo simulations