Function to calculate the residual sum of squares between the measured and simulated drawdown.
residual_sum_squares(par, ptest, model)
| par | A list with the parameters of the model. |
|---|---|
| ptest | A pumping_test object. |
| model | A character string with the name of the model |
The numeric value of the residual sum of squares
Other objective_function functions: box_cox_transf,
loglikelihood_bc,
loglikelihood,
max_absolute_deviation,
mean_absolute_deviation,
mean_square_error