Sep 1, 2009 #1 ptengineer Electrical Joined Jan 26, 2009 Messages 12 Location US 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?
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?
Sep 2, 2009 #2 GregLocock Automotive Joined Apr 10, 2001 Messages 23,892 Location Orbiting a small yellow star If you want some help you'd best do some of the legwork by defining WLR properly Cheers Greg Locock SIGlease see FAQ731-376 for tips on how to make the best use of Eng-Tips. Upvote 0 Downvote
If you want some help you'd best do some of the legwork by defining WLR properly Cheers Greg Locock SIGlease see FAQ731-376 for tips on how to make the best use of Eng-Tips.
Sep 2, 2009 #3 GregLocock Automotive Joined Apr 10, 2001 Messages 23,892 Location Orbiting a small yellow star or even spending 2 minutes on google http://www.mbari.org/staff/etp3/regress.htm Cheers Greg Locock SIGlease see FAQ731-376 for tips on how to make the best use of Eng-Tips. Upvote 0 Downvote
or even spending 2 minutes on google http://www.mbari.org/staff/etp3/regress.htm Cheers Greg Locock SIGlease see FAQ731-376 for tips on how to make the best use of Eng-Tips.