% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pmm3_utils.R
\name{compute_moments_pmm3}
\alias{compute_moments_pmm3}
\title{Compute central moments for PMM3 from residuals}
\usage{
compute_moments_pmm3(residuals)
}
\arguments{
\item{residuals}{numeric vector of residuals (typically from OLS)}
}
\value{
A list with components:
\item{m2}{Second central moment}
\item{m4}{Fourth central moment}
\item{m6}{Sixth central moment}
\item{gamma3}{Skewness coefficient (for symmetry check)}
\item{gamma4}{Excess kurtosis}
\item{gamma6}{Sixth-order cumulant coefficient}
\item{g3}{Theoretical variance reduction factor}
\item{kappa}{Moment ratio for NR solver (NA if near-Gaussian)}
\item{improvement_pct}{Expected variance reduction percentage}
}
\description{
Computes the second, fourth, and sixth central moments, along with
standardised cumulant coefficients gamma3, gamma4, gamma6, the theoretical
efficiency factor g3, and the moment ratio kappa used in the PMM3 solver.
}
