???? FAQ: Polynomial regression ????
<box 35% right round orange| Adjustment factors >
The default form of regression equation in WOMBAT is chosen to account for rank deficiencies in the fixed effects part of the coefficient matrix in the MME when estimating variance components. If your aim is to obtain `adjustment factors' for other analyses, it is best to *fit the appropriate model* from the start.

- Intercepts are readily fitted, but may cause additional dependencies among fixed effects, in particular for nested covariables. If so, you will need to identify suitable fixed effects levels to be `zero-ed out' to account for these dependencies, and specify them in the parameter file via the
`ZEROUT`

statement. - An alternative way to fit a higher order polynomial regression is to include appropriate powers of the covariable as additional columns in the data file and fit these as additional, linear covariables. This will directly yield the β
_{i}type regression coefficients.

When fitting a complicated fixed effects model, care is needed in the interpretation of results, paying particular attention to the ** estimability** of individual effects!
</box>

**Q:**I am fitting age as a quadratic covariable in the model, using the default polynomial regression. WOMBAT gives me estimates of regression coefficients in`FixSolutions.out`

, but:- I can't find the intercept, and
- these estimates don't make sense, i.e. when I plug them into the regression equation, I don't get a curve which fits the data.

What is wrong?

**A:**When you say “regression equation”, you are thinking of an equation of the form:

**y = β**_{0}+ β_{1}x + β_{2}x^{2}

with intercept, linear and quadratic regression coefficients given by β_{0}, β_{1}, and β_{2}, respectively. Correct?

If so, this is the problem:- WOMBAT deviates both records and covariables from their respective means prior to analysis, and then fits an “intercept-free” regression equation of form:

**y - μ**_{y}= α_{1}( x - μ_{x}) + α_{2}( x - μ_{x})^{2} - This means that you can
*not*use the estimates α_{i}from WOMBAT directly in your regression equation (blue) above! - Fortunately, there is a straightforward relationship between the α
_{i}coefficients from WOMBAT, and the coefficients β_{i}you want. You need the means, μ_{y}and μ_{x}, for records and covariables (you find these in file`SumModel.out`

). You can then calculate your coefficients as:- β
_{0}= μ_{y}- α_{1}μ_{x}+ α_{2}μ_{x}^{2} - β
_{1}= α_{1}- 2 α_{2}μ_{x}and - β
_{2}= α_{2}.