Learn R Programming

bin2norm (version 0.1.0)

estimate_singleThresh_MLE: MLE (Single Threshold per Study)

Description

Treats the count of "above threshold" in study \(i\) as binomial with probability \(1 - \Phi((c_i - \mu)/\sigma)\). This uses numerical optimization (optim) to maximize the binomial likelihood. Optionally uses Weighted OLS estimates as starting values to improve convergence.

Usage

estimate_singleThresh_MLE(n_i, c_i, p_i_obs, use_wols_init = TRUE)

Value

A list with mu, sigma, method="MLE".

Arguments

n_i

numeric vector of sample sizes

c_i

numeric vector of thresholds

p_i_obs

numeric vector of observed proportions above threshold

use_wols_init

logical; if TRUE, uses Weighted OLS estimates (estimate_singleThresh_WOLS) as initial values in optim.