Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > University Math Help > Advanced Probability and Statistics
Reply
 
Thread Tools Display Modes
  #1  
Old October 26th, 2009, 05:03 PM
Newbie
 
Join Date: Oct 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
o'doyle rules is on a distinguished road
Default Dummy Variable LS Coefficients

I'm having some trouble with these two parts of this question:

The least squares regression of y (nx1) on the K coloumns of X (nxK) can be written as y = Xb + e, where b is the LS coefficient vector and e is the nx1 vector of LS residuals. The rank of X is 1 < K < n.
The first order conditions that determine b are: X'y = (X'X)b
1. Suppose y is quarterly beef consumption per capita. Data are available over the period 1988-2008 (21 years x 4 quarters = 84 observations.) Suppose K = 4 and the columns of X are Q1, Q2, Q3 and Q4, where Qj is a quarterly dummy variable: Qj = 1 in the jth quarter and zero otherwise. Interpret the four LS coefficients.
2. Suppose y is regressed on Q1...Q4 and X5 (K = 5), where X5 is real per capita income and your objective is to predict consumption in quarter 1 given a level of income equal to the first quarter's sample mean income. Demonstrate that the predicted level of consumption given by the LS equation is the first quarter's sample mean consumption.

For part one I'm trying to find what b= (X'X)^-1 X'y

I found that the X'X becomes a diagonal 4x4 matrix where the diagonal is Q1, Q2, Q3 and Q4. However I'm not sure how to move on from here.

Thanks for your help.
Reply With Quote
Advertisement
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 02:08 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.