Thread View: sci.math.stat
5 messages
5 total messages
Started by Ayman I. Kayssi
Sun, 11 Oct 1992 15:35
Rational functions: a linear model?
Author: Ayman I. Kayssi
Date: Sun, 11 Oct 1992 15:35
Date: Sun, 11 Oct 1992 15:35
15 lines
1056 bytes
1056 bytes
I'm trying to fit data to a rational function. What is the transformation that I need to make to have a linear model? y = (a0 + a1*x + a2*x^2 + ... + am*x^m)/(1 + b1*x + b2*x^2 + ... + bn*x^n) means that: y + b1*y*x + b2*y*x^2 + ... + bn*y*x^n = a0 + a1*x + ... + am*x^m or: y = a0 + a1*x + ... + am*x^m + b1*(-y)*x + b2*(-y)*x^2 + ... + bn*(-y)*x^n I tried this and I'm not getting the right answers...is this the right way to do it? -- Ayman I. Kayssi | ayman@eecs.umich.edu EECS Department +------------------------ University of Michigan | (313) 764-8033
Re: Rational functions: a linear model?
Author: Herman Rubin
Date: Sun, 11 Oct 1992 18:29
Date: Sun, 11 Oct 1992 18:29
33 lines
2307 bytes
2307 bytes
In article <1992Oct11.153538.12821@zip.eecs.umich.edu> ayman@eecs.umich.edu (Ayman I. Kayssi) writes:
>I'm trying to fit data to a rational function. What is the transformation
>that I need to make to have a linear model?
>y = (a0 + a1*x + a2*x^2 + ... + am*x^m)/(1 + b1*x + b2*x^2 + ... + bn*x^n)
>means that:
>y + b1*y*x + b2*y*x^2 + ... + bn*y*x^n = a0 + a1*x + ... + am*x^m
>or:
>y = a0 + a1*x + ... + am*x^m + b1*(-y)*x + b2*(-y)*x^2 + ... + bn*(-y)*x^n
>I tried this and I'm not getting the right answers...is this the right
>way to do it?
If you are trying a regression on your transformed equation, the estimates
will not even be consistent because of dependent variables on the right side.
There are ways that this can be handled (an INDICATION of how to do it is
to use higher powers of x to identify the situation, and to estimate it
as a single equation in a complete system), but this is very definitely
not optimal. There is NO way to transform a non-linear model to a linear
model preserving the assumptions. Figure out your assumptions, and then
use the appropriate statistical procedures.
A word of warning is appropriate. Fitting a polynomial or a rational
function is very ill-conditioned, no matter how it is done. You may
need not only the services of a good mathematical statistician, but
also an excellent numerical analyst. You may very well need the numerical
analyst even if there are no random errors; crude programs are likely to
break down.
--
Herman Rubin, Dept. of Statistics, Purdue Univ., West Lafayette IN47907-1399
Phone: (317)494-6054
hrubin@pop.stat.purdue.edu (Internet, bitnet)
{purdue,pur-ee}!pop.stat!hrubin(UUCP)
Re: Rational functions: a linear model?
Author: Ayman I. Kayssi
Date: Sun, 11 Oct 1992 19:30
Date: Sun, 11 Oct 1992 19:30
19 lines
1360 bytes
1360 bytes
hrubin@pop.stat.purdue.edu (Herman Rubin) wrote:
>In article <1992Oct11.153538.12821@zip.eecs.umich.edu> ayman@eecs.umich.edu (Ayman I. Kayssi) writes:
>>y = a0 + a1*x + ... + am*x^m + b1*(-y)*x + b2*(-y)*x^2 + ... + bn*(-y)*x^n
>
>If you are trying a regression on your transformed equation, the estimates
>will not even be consistent because of dependent variables on the right side.
TableCurve (from Jandel) lists the following form under *linear* equations:
a + c x + e x^2 + ...
y = ---------------------
1 + b x + d x^2 + ...
How do they (non-iteratively) calculate the parameters?
--
Ayman I. Kayssi | ayman@eecs.umich.edu
EECS Department +------------------------
University of Michigan | (313) 764-8033
Re: Rational functions: a linear model?
Author: Herman Rubin
Date: Mon, 12 Oct 1992 14:30
Date: Mon, 12 Oct 1992 14:30
34 lines
2294 bytes
2294 bytes
In article <1992Oct11.192921.22075@zip.eecs.umich.edu> ayman@eecs.umich.edu (Ayman I. Kayssi) writes:
>hrubin@pop.stat.purdue.edu (Herman Rubin) wrote:
>>In article <1992Oct11.153538.12821@zip.eecs.umich.edu> ayman@eecs.umich.edu (Ayman I. Kayssi) writes:
>>>y = a0 + a1*x + ... + am*x^m + b1*(-y)*x + b2*(-y)*x^2 + ... + bn*(-y)*x^n
>>If you are trying a regression on your transformed equation, the estimates
>>will not even be consistent because of dependent variables on the right side.
>TableCurve (from Jandel) lists the following form under *linear* equations:
> a + c x + e x^2 + ...
>y = ---------------------
> 1 + b x + d x^2 + ...
>How do they (non-iteratively) calculate the parameters?
I am not familiar with the work; I do not even know if data is being fitted,
or a theoretical function. A standard numerical analysis situation is the
fitting of approximations of fixed type; as infinite series, the problem
is hopelessly unidentified. As I have stated before, there are quite
substantial numerical problems, although these may not be too crucial for
the degree of fit. If the fit is to observational data, it may even be a
good idea to use ridge regression or some other Bayesian, or approximate
Bayesian, approacth.
But I cannot see any good reason why it is important, or even desirable, to
calculate non-iteratively, unless this is to be a "field" situation, with
thousands or millions of cases to be computed.
--
Herman Rubin, Dept. of Statistics, Purdue Univ., West Lafayette IN47907-1399
Phone: (317)494-6054
hrubin@pop.stat.purdue.edu (Internet, bitnet)
{purdue,pur-ee}!pop.stat!hrubin(UUCP)
Re: Rational functions: a linear model?
Author: M. Bickis
Date: Wed, 14 Oct 1992 18:34
Date: Wed, 14 Oct 1992 18:34
18 lines
1447 bytes
1447 bytes
>In article <1992Oct11.153538.12821@zip.eecs.umich.edu> ayman@eecs.umich.edu (Ayman I. Kayssi) writes: >>I'm trying to fit data to a rational function. John Nelder wrote a paper in the '60's about inverse polynomial regression that might give you the sort of fit you need. I can't recall the exact reference, but it is discussed in McCullagh & Nelder's "Generalized Linear Models". >What is the transformation that I need to make to have a linear model? Can't be done. That's why you need a generalized linear model. >>>>>>>>>>>>>>>>>>>bickis@math.usask.ca<<<<<<<<<<<<<<<<<<<<<<<<<<< Mik Bickis \,,, .*#*. \ University of Saskatchewan Department of \,,, ^\\|//^ ```\ Saskatoon, Saskatchewan Mathematics & Statistics \ )|( ```\ Canada S7N 0W0 <<<<<<<<<<<<<<<<<<<S|A|S|K|A|T|C|H|E|W|A|N|>>>>>>>>>>>>>>>>>>>>>>>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads