Thread: Q4) h(x) = ax
View Single Post
Old 04-30-2013, 03:55 AM
jlevy jlevy is offline
Junior Member
Join Date: Apr 2013
Posts: 5
Default Re: Q4) h(x) = ax

Originally Posted by geekoftheweek View Post
Is there a best way to minimize the mean-squared error?
Just use w=inv(X`*X)*X`*Y
and note that X has just a single column (no column of 1's).
Joe Levy
[URL=""]Trust me, I'm a statistician[/URL]
Reply With Quote