Skip to content
Prev 180373 / 398503 Next

automated polynomial regression

Dear all -
We perform some measurements with a machine that needs to be
recalibrated. The best calibration we get with polynomial regression.
The data might look like follows:
Call:
lm(formula = true_y ~ m_y + m_y_2 + m_y_3)

Coefficients:
(Intercept)          m_y        m_y_2        m_y_3
  1.646e+00    1.252e-01    2.340e-03   -9.638e-06

Now I can get the real result with
But I have to put the values "by hand" into the polynom.

Isn't there an easier, more direct way, or at least , is there a way
to access the coefficients of lm() for further calculations?

Thanks
Dieter