Tags: 5or, code, example, instructions, linear, matlab, multiple, perform, piecewise, programming, provide, regression, somebody, wih

piecewise linear regression

On Programmer » Matlab

1,683 words with 1 Comments; publish: Tue, 06 May 2008 18:21:00 GMT; (20062.50, « »)

Hi all.

Can somebody please provide some example code or instructions on how

to perform piecewise linear (multiple) regression wih matlab (v. 6.5

or earlier). Thanks in advance.

K.K.

All Comments

Leave a comment...

  • 1 Comments
    • In article <ef12b1a.-1.matlab.todaysummary.com.webx.raydaftYaTP>, K.K. <kgk.matlab.todaysummary.com.pharm.auth.gr>

      wrote:

      > Can somebody please provide some example code or instructions on how

      > to perform piecewise linear (multiple) regression wih matlab (v. 6.5

      > or earlier). Thanks in advance.

      Piecewise linear multiple regression? Are you asking

      for a tensor product linear regression spline in

      n-dimensions? There are actually several patents in my

      name on the process, at least as it applies to color

      characterization modeling. They would describe the

      process (not that any sane person would choose to read

      a US patent. I've tried, look what its done to me.) I

      think that Eastman Kodak still holds those patents for

      several more years. They came out in the early 90s as

      I remember. (A patent search should find them, although

      one of them has my name misspelled as "E'Errico".)

      You do realize that a tensor product linear function in

      n-dimensions is not actually truly linear for n>=2?

      If you truly want a truly linear piecewise function

      in n-dimensions, you would need to build a regression

      model over a tessellated domain. Done that too, but

      I've never patented it. There are some interesting

      problems to work through.

      HTH,

      John D'Errico

      The best material model of a cat is another, or

      preferably the same, cat.

      A. Rosenblueth, Philosophy of Science, 1945

      #1; Tue, 06 May 2008 18:23:00 GMT