Re: Multiple Linear Regression--should be an easy one



dpb <none@xxxxxxx> wrote in message <fpslm4$jph$1@xxxxxxxx>...
Mel :) wrote:
Hello all,
I am newbie to MATLAB. I was just wondering how I would go
about doing a multiple linear regression in MATLAB. I have 3
variables- all independent. I have the three data files (the
files are quite long) in Excel and they can be easily
imported to MATLAB into arrays? What I need to do is find a
regression equation and then the goodness of fit of the
equation. Is this possible in MATLAB???

Sure... :)

help slash


I don't understand? I tried looking at the help section and
I created three variables in MATLAB x1,x2 and y and ran the
regress program. It gave me a single number as the answer
(0.221).
I want the values of a and b (y= ax1 + bx2) that minimizes
the error and then the goodness of the fit?

Thanks for the help though, anymore insight?

.



Relevant Pages


Loading