(SecTrend)= # Trend functions in Kriging models Essai $$ \Z $$ The possible trend functions in **libKriging** are as follow, by increasing level of complexity. * The **constant trend** involves $p = 1$ coefficient and $\m{f}(\m{x})^\top\bs{\beta} = \beta$. * The **linear trend** involves $p = d +1$ coefficients $$ \m{f}(\m{x})^\top \bs{\beta} = \beta_0 + \sum_{i=1}^d \beta_i \, x_i. $$ * The **interactive trend** involves $1 + d + d (d-1) /2$ coefficients $$ \m{f}(\m{x})^\top \bs{\beta} = \beta_0 + \sum_{i=1}^d \sum_{j=1}^{i-1} \beta_{ji} \, x_j x_i. $$ * The **quadratic trend** involves $p = 1 + d + d(d+1) /2$ coefficients $$ \m{f}(\m{x})^\top \bs{\beta} = \beta_0 + \sum_{i=1}^d \sum_{j=1}^i \beta_{ji} \, x_j x_i. $$ Starting from the constant trend, the other forms come by adding the $d$ linear terms $x_i$, adding the $d \times (d-1) / 2$ interaction terms $x_i x_j$ with $j