Weighted linear regression
Weighted linear regression
(OP)
I need a weighted linear regression performed on some data and polyfit doesn't provide weighted linear regression functionality. Does anyone know how to code this in matlab and if so provide the code or some hints as to how?





RE: Weighted linear regression
Cheers
Greg Locock
SIG:Please see FAQ731-376: Eng-Tips.com Forum Policies for tips on how to make the best use of Eng-Tips.
RE: Weighted linear regression
http://www.mbari.org/staff/etp3/regress.htm
Cheers
Greg Locock
SIG:Please see FAQ731-376: Eng-Tips.com Forum Policies for tips on how to make the best use of Eng-Tips.