Computes the mean squared error (MSE) of a parameter estimation function over several trials.
evaluate_estimation_method(
estimator_fn,
true_params,
n = 1000,
trials = 20,
seed = 42
)Numeric value representing the average MSE across trials.
Function. Estimation function to evaluate.
List. True parameters: alpha, beta, gamma, delta.
Integer. Number of samples per trial.
Integer. Number of trials to run.
Integer. Random seed for reproducibility.