The Prediction Error Method (PEM) is a system identification framework that estimates model parameters by minimizing a cost function of the prediction errors—the difference between the observed system output and the output predicted by the candidate model. Under Gaussian noise assumptions, PEM provides asymptotically efficient estimates, meaning the parameter covariance asymptotically approaches the Cramér-Rao lower bound as the data record length increases.
Glossary
Prediction Error Method (PEM)

What is Prediction Error Method (PEM)?
A statistical framework for estimating parameters of a dynamic model by minimizing the difference between the actual measured output and the output predicted by the model.
PEM encompasses a broad family of model structures, including ARMAX, Output-Error, and Box-Jenkins forms, making it more general than least squares. The method constructs a one-step-ahead predictor from the assumed model and noise structure, then iteratively optimizes parameters using numerical techniques like Gauss-Newton or Levenberg-Marquardt to solve the typically non-convex minimization problem.
Key Characteristics of PEM
The Prediction Error Method (PEM) is a statistical framework that defines the gold standard for parameter estimation in dynamic systems. It provides asymptotically efficient estimates by directly minimizing the error between measured outputs and model predictions.
Asymptotic Efficiency
Under Gaussian noise assumptions, PEM achieves the Cramér-Rao lower bound as the data record length approaches infinity. This means no other unbiased estimator can achieve lower variance. For finite samples, PEM provides the maximum likelihood estimate when the noise model is correctly specified, making it the theoretical benchmark against which all other estimation algorithms are compared.
Prediction Error Minimization
PEM defines a cost function based on the one-step-ahead prediction error:
ε(t,θ) = y(t) - ŷ(t|t-1; θ)- The parameter vector θ is chosen to minimize a scalar norm of these errors
- Common choices include the quadratic norm
V(θ) = (1/N) Σ ε²(t,θ)This formulation directly penalizes the model's inability to forecast future outputs from past data.
General Model Structure
PEM operates on a unified predictor model that encompasses all standard linear black-box structures:
- ARX: Autoregressive with exogenous input
- ARMAX: ARX with moving average noise
- Output Error (OE): Noise-free dynamics with colored output noise
- Box-Jenkins (BJ): Independent parameterization of system and noise dynamics This generality allows PEM to handle arbitrary noise colorations without bias.
Numerical Optimization Requirement
Unlike closed-form solutions such as Least Squares, PEM typically requires iterative numerical optimization (e.g., Gauss-Newton or Levenberg-Marquardt) because the predictor is a nonlinear function of the parameters for general model structures. This computational cost is the primary trade-off for PEM's statistical optimality. For Output Error models specifically, the gradient must be computed by filtering signals through the model's own sensitivity functions.
Relationship to Maximum Likelihood
When the prediction errors are Gaussian and independent, minimizing the quadratic prediction error criterion is mathematically equivalent to maximizing the likelihood function. This equivalence provides a rigorous probabilistic foundation: PEM estimates are the parameters that make the observed data most probable under the assumed model structure. This connection extends to non-Gaussian cases through appropriate norm selection.
Practical Considerations for DPD
In Digital Pre-Distortion applications, PEM faces specific challenges:
- Real-time constraints often preclude iterative optimization, favoring recursive approximations like RPEM
- The high PAPR of communication signals can make the quadratic cost sensitive to outliers
- Model structure selection (memory depth, nonlinearity order) critically impacts both bias and variance
- PEM's theoretical efficiency assumes a stationary system, which power amplifiers with thermal memory may violate
Frequently Asked Questions
Clarifying the core concepts, mathematical foundations, and practical applications of the Prediction Error Method (PEM) for system identification and digital predistortion coefficient estimation.
The Prediction Error Method (PEM) is a statistical system identification framework that estimates model parameters by minimizing the difference between the measured system output and the output predicted by the model. It works by constructing a one-step-ahead predictor from the candidate model structure, then iteratively adjusting the parameter vector θ to minimize a scalar-valued cost function—typically the sum of squared prediction errors. Under the assumption of Gaussian noise, PEM provides asymptotically efficient estimates, meaning the parameter covariance asymptotically approaches the Cramér-Rao lower bound. This makes it the gold standard for extracting high-fidelity behavioral models of dynamic systems, including power amplifiers in digital predistortion applications.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
The Prediction Error Method (PEM) is a cornerstone of system identification, providing asymptotically efficient estimates. The following concepts define the mathematical landscape surrounding PEM, from the cost functions it optimizes to the algorithms that implement it.
Maximum Likelihood Estimation (MLE)
The statistical parent of the Prediction Error Method. MLE selects model parameters that maximize the probability of observing the actual data. Under the assumption of Gaussian prediction errors, the PEM cost function (minimizing the sum of squared errors) is mathematically identical to the MLE solution.
- Asymptotic Efficiency: Both MLE and PEM achieve the Cramér-Rao lower bound as the sample size approaches infinity.
- Key Distinction: PEM is a more general framework that does not strictly require a probabilistic assumption to formulate the optimization problem.
Instrumental Variable (IV) Method
A robust alternative to PEM when the model structure suffers from correlated residuals. If the prediction error is not white noise, PEM estimates become biased. The IV method uses an external 'instrument' signal—correlated with the input but uncorrelated with the disturbance—to extract unbiased parameter estimates.
- Use Case: Essential for closed-loop system identification where feedback contaminates the noise independence assumption.
- Optimal IV: A variant that achieves the same asymptotic accuracy as PEM when the noise model is correct.
Prediction Error Minimization (PEM) Toolbox
The standard MATLAB function pem in the System Identification Toolbox is the de facto industry implementation. It numerically minimizes the prediction error cost function using iterative search algorithms like Gauss-Newton or Levenberg-Marquardt.
- Syntax:
sys = pem(data, init_sys)refines an initial model using time or frequency-domain data. - Output: Returns a state-space or polynomial model with estimated covariance matrices, enabling uncertainty quantification.
Akaike Information Criterion (AIC)
A model selection metric deeply tied to PEM theory. AIC provides a quantitative trade-off between model fit (prediction error variance) and model complexity (number of parameters). It is derived directly from the Kullback-Leibler divergence and the asymptotic properties of the maximum likelihood/PEM framework.
- Formula:
AIC = log(V) + 2d/N, where V is the loss function, d is the number of parameters, and N is the sample size. - Application: Used to select the optimal model order for ARX, ARMAX, or Box-Jenkins structures identified via PEM.
Gauss-Newton Optimization
The iterative numerical engine that solves the PEM minimization problem. Since the prediction error is a nonlinear function of the parameters, a closed-form solution is impossible. Gauss-Newton uses a Jacobian-based approximation of the Hessian matrix to update parameters efficiently.
- Update Rule:
θ_{k+1} = θ_k - (J^T J)^{-1} J^T ε - Advantage: Exploits the sum-of-squares structure of the PEM cost function to avoid computing full second-order derivatives.
Box-Jenkins Model Structure
The most general linear polynomial model structure optimized by PEM. It explicitly separates the input-output dynamics (G) from the noise dynamics (H), providing maximum flexibility.
- Equation:
y(t) = [B(q)/F(q)] u(t) + [C(q)/D(q)] e(t) - PEM Advantage: Unlike simpler ARX models, PEM correctly handles colored noise disturbances by modeling them independently, preventing bias in the system transfer function estimate.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us