Results 1 to 2 of 2

Math Help - Linear Regression Model Matrix

  1. #1
    Newbie
    Joined
    May 2009
    Posts
    7

    Linear Regression Model Matrix

    I am stuck on how to structure the matrix, can anyone help?
    Attached Thumbnails Attached Thumbnails Linear Regression Model Matrix-screen-shot-2009-10-11-23.27.34.png  
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor matheagle's Avatar
    Joined
    Feb 2009
    Posts
    2,763
    Thanks
    5
    That's the usual design matrix, X.

    The first column is all 1's (n of them)
    The second one is x_1 through x_n

    Now, when you obtain X^tX
    you will get a diagonal matrix because the (1,1) position is n.
    The (1,2) and (2,1) spot is the sum of the x's which is zero.
    And the (2,2) position is \sum_{i=1}^n x^2_i
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Multivariate Linear Regression Model Question
    Posted in the Advanced Algebra Forum
    Replies: 0
    Last Post: September 8th 2011, 04:37 AM
  2. Replies: 2
    Last Post: October 6th 2010, 06:13 PM
  3. Simple linear regression model
    Posted in the Business Math Forum
    Replies: 0
    Last Post: April 6th 2009, 07:58 AM
  4. Linear Regression Model
    Posted in the Advanced Statistics Forum
    Replies: 4
    Last Post: March 7th 2009, 08:28 AM
  5. Replies: 0
    Last Post: October 25th 2008, 09:36 PM

Search Tags


/mathhelpforum @mathhelpforum