Estimates p_value and uncertainty using observed final weights with a frequentist likelihood approach assuming log-normal weight distribution.
mle_estimate_p_value_lognormal(
observed_weights,
simulation_function,
estimate_sigma = TRUE,
fixed_sigma = 0.1
)List with MLE results
Vector of observed final weights
Function that runs simulation and returns weight
Whether to estimate sigma or use fixed value
Fixed sigma value (if estimate_sigma = FALSE)