npIpmBurke: Burke interior-point weight solver (nonparametric maximum...

View source: R/RcppExports.R

npIpmBurkeR Documentation

Burke interior-point weight solver (nonparametric maximum likelihood)

Description

Solves the convex nonparametric-maximum-likelihood weight problem for a fixed set of support points: given the likelihood matrix psi (subjects in rows, support points in columns) it returns the maximum-likelihood mixing weights and the objective (log-likelihood). Exposed for testing the C++ interior-point routine against golden fixtures.

Usage

npIpmBurke(psi)

Arguments

psi

Numeric matrix, psi[i, k] = p(y_i | support point k), with subjects in rows and support points in columns.

Value

A list with weights (length ncol(psi), non-negative, summing to 1) and objective (the maximized log-likelihood).


nlmixr2est documentation built on Aug. 5, 2026, 1:11 a.m.