Skip to content

Predicting x from y

4 messages · (Ted Harding), Schreiber, Stefan

#
On 11-Nov-11 14:51:19, Schreiber, Stefan wrote:
A couple of comments.

First, in general it is not straightforward to estimate
the value of a covariate (here temperature) by inverting
the regression of a response (here damage) on that covariate.
This the "inverse regression" or "calibration" problem,
(and it is problematic)! For instance, in linear regression
the estimate obtained by inversion has (theoretically)
no expectation, and has infinite variance. For an outline,
and a few references, see the Wikipedia article:

  http://en.wikipedia.org/wiki/Calibration_(statistics)

Second, I would be inclined to try nls() on a reformulated
version of the problem. Let T50 denote the temperature for
50% damage, and introduce this as a parameter (displacing
your parameter "a"):

  y = 50*(b + T50)/(b + x)

where T50 = a/50 - b in terms of your original parameters
"a" and "b". With this formula for the non-linear dependence
of damage on temperature, it is no longer necessAry to invert
the regression equation, since the parameter you want is
already there and will be estimated directly.

Hoping this helps,
Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <ted.harding at wlandres.net>
Fax-to-email: +44 (0)870 094 0861
Date: 11-Nov-11                                       Time: 21:15:57
------------------------------ XFMail ------------------------------
#
Follow-up: See at end.
On 11-Nov-11 21:16:02, Ted Harding wrote:
I think I have mis-read your model: I read it as

  y = a/(x+b)

whereas you wrote "y/x+b" and your model formula in nls()
is y.damage~a/x.temp+b, i.e. y.damage ~ (a/x.temp) + b
which confirms it.

In that case, you may be able to get a satisfactory result
by using a linear regression with

  y.damage = a*z.temp + b

where z.temp = 1/x.temp so the model formula would be

  y.damage ~ z.temp

You then have the straightforward inverse regression
problem (aka calibration problem). The solution to this
takes a bit of explanation, which I do not have the time
for right now. I will write further about it in the morning.

Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <ted.harding at wlandres.net>
Fax-to-email: +44 (0)870 094 0861
Date: 11-Nov-11                                       Time: 23:07:35
------------------------------ XFMail ------------------------------