This function allows the user to maximize the target function \(f(\boldsymbol{\theta})\) using MM algorithm with AD technology.
MMAD(Function_obj, init, tol = 1e-04)The maximizer $$\widehat{\boldsymbol{\theta}}=\arg\max_{\boldsymbol{\theta} \in\Theta }f(\boldsymbol{\theta}).$$
An R list depicting the target function.
The initial value \(\boldsymbol{\theta}^{(0)}\) for iterative optimization.
The tolerance for convergence detection (default: \(1\times 10^{-4}\)).