liveBook · Manning

Cross term

As explained in Experimentation for Engineers

A regression term formed by multiplying two distinct predictor variables to represent their joint effect.

A cross term multiplies two distinct predictors, β5x1x2, to model how their joint effect changes the response. In a two-parameter response-surface model, it complements the constant, linear, and separate quadratic terms. section 4.2.2

For threshold x1 and order_size x2, the cross term helps interpolate behavior between the center and corner measurements along the diagonals of a central-composite design. With d parameters, one pairwise term is required for every parameter pair, yielding d(d − 1)/2 terms. section 4.2.2

Fitting and using the term

A NumPy design matrix includes ones, x0, x1, x0², x1², and x0x1. Linear regression estimates the coefficients; interpolation evaluates the fitted surface over a grid, and optimization selects its highest predicted response.

How Experimentation for Engineers covers it

How deep it goes
Defines the term, explains diagonal interpolation, and demonstrates fitting and grid evaluation, while stopping at two practical parameters.
Examples
Uses threshold and order_size, the x0x1 design-matrix column, and a central-composite experiment with measured and interpolated responses.
What it assumes
Assumes two measured predictors and aggregate responses, while extending the one-dimensional constant, linear, and quadratic model.
What you can do after
Build it from scratch by adding the pairwise product to a NumPy regression matrix and evaluating the resulting surrogate surface.
How it connects
Connects cross terms to linear regression, response surface methodology, central-composite design, and Bayesian optimization for larger dimensions.

Also explained in

Compare how 2 books explain cross term →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Experimentation for Engineers. The section links point to the parts of the book it draws on.