% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pmm2_ts_main.R
\name{unified_pmm2_wrapper}
\alias{unified_pmm2_wrapper}
\title{Unified PMM2 Wrapper for Time Series Models}
\usage{
unified_pmm2_wrapper(
  x,
  order,
  model_type,
  pmm2_variant = c("unified_global", "unified_iterative", "linearized"),
  seasonal = NULL,
  include.mean = TRUE,
  max_iter = 100,
  tol = 1e-06,
  verbose = FALSE
)
}
\arguments{
\item{x}{Time series data}

\item{order}{Model order specification (depends on model_type)}

\item{model_type}{Type of model: "ar", "ma", "arma", "arima", "sarima"}

\item{pmm2_variant}{PMM2 implementation variant:
\itemize{
\item \code{"unified_global"} (default) - One-step correction, fast and stable
\item \code{"unified_iterative"} - Full iterative procedure for maximum accuracy
\item \code{"linearized"} - Specialized linear approach for MA/SMA models
}}

\item{seasonal}{Seasonal specification for SARIMA models}

\item{include.mean}{Include intercept/mean term}

\item{max_iter}{Maximum iterations}

\item{tol}{Convergence tolerance}

\item{verbose}{Print progress information}
}
\value{
List with PMM2 estimation results
}
\description{
Universal wrapper that dispatches to appropriate PMM2 variant based on
model structure and user preference.
}
\keyword{internal}
