View Single Post
  #2  
Old 04-15-2012, 06:59 PM
yaser's Avatar
yaser yaser is offline
Caltech
 
Join Date: Aug 2009
Location: Pasadena, California, USA
Posts: 1,477
Default Re: Linear regression - constructing X matrix

Quote:
Originally Posted by folktheory View Post
Hello, I have a pretty straightforward question.

When we make the X matrix (that we then use to obtain X-dagger), should we include the x0's in there (that is, a column of ones) or do we leave those out?

Thanks
Yes, the x_0=1 coordinate is included in all data points {\bf x}_n, so there is a column of 1's in the matrix {\rm X}.
__________________
Where everyone thinks alike, no one thinks very much
Reply With Quote