Home »
Public Forums »
archive »
Re: linear regression between two array with different number of emelemts
Re: linear regression between two array with different number of emelemts [message #66240] |
Mon, 27 April 2009 14:12 |
Brian Larsen
Messages: 270 Registered: June 2006
|
Senior Member |
|
|
I would ask you the question what does it mean to do regression on
arrays of different sizes? Regression seems to me to be done on X-Y
pairs (where y can be a vector for each X).
I think you just have to interpolate and then do the regression. I
would interpolate the one with more elements down to the other, of
course they have to have the same range etc so that you are not
extrapolating.
Cheers,
Brian
------------------------------------------------------------ --------------
Brian Larsen
Boston University
Center for Space Physics
http://people.bu.edu/balarsen/Home/IDL
|
|
|
Current Time: Wed Oct 08 09:21:18 PDT 2025
Total time taken to generate the page: 0.00607 seconds