mle_estimate_p_value_lognormal: Maximum Likelihood Estimation for p_value using log-normal...

View source: R/14.2.5-strategy-mle.R

mle_estimate_p_value_lognormalR Documentation

Maximum Likelihood Estimation for p_value using log-normal distribution

Description

Estimates p_value and uncertainty using observed final weights with a frequentist likelihood approach assuming log-normal weight distribution.

Usage

mle_estimate_p_value_lognormal(
  observed_weights,
  simulation_function,
  estimate_sigma = TRUE,
  fixed_sigma = 0.1
)

Arguments

observed_weights

Vector of observed final weights

simulation_function

Function that runs simulation and returns weight

estimate_sigma

Whether to estimate sigma or use fixed value

fixed_sigma

Fixed sigma value (if estimate_sigma = FALSE)

Value

List with MLE results


fb4package documentation built on May 8, 2026, 1:07 a.m.