% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pmm2_unified.R
\name{pmm2_nonlinear_iterative}
\alias{pmm2_nonlinear_iterative}
\title{Universal PMM2 estimator (Iterative)}
\usage{
pmm2_nonlinear_iterative(
  theta_init,
  fn_residuals,
  fn_jacobian = NULL,
  max_iter = 100,
  tol = 1e-06,
  verbose = FALSE
)
}
\arguments{
\item{theta_init}{Initial parameter values}

\item{fn_residuals}{Function(theta) returning the residual vector}

\item{fn_jacobian}{Function(theta) returning the Jacobian matrix (n x p).
J_ij = d(y_hat_i)/d(theta_j) = -d(epsilon_i)/d(theta_j).
If NULL, numerical Jacobian via numDeriv is used}

\item{max_iter}{Maximum number of iterations}

\item{tol}{Convergence tolerance}

\item{verbose}{Print progress}
}
\value{
List with results (theta, residuals, convergence, etc.)
}
\description{
Universal PMM2 estimator (Iterative)
}
