Thread
:
Q4) h(x) = ax
View Single Post
#
25
04-30-2013, 02:55 AM
jlevy
Junior Member
Join Date: Apr 2013
Posts: 5
Re: Q4) h(x) = ax
Quote:
Originally Posted by
geekoftheweek
Is there a best way to minimize the mean-squared error?
Thanks
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="https://trustmeimastatistician.wordpress.com/"]Trust me, I'm a statistician[/URL]
jlevy
View Public Profile
Send a private message to jlevy
Visit jlevy's homepage!
Find all posts by jlevy