S.O.S. Mathematics CyberBoard Forum Index S.O.S. Mathematics CyberBoard
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
covariance matrix

 
Post new topic   Reply to topic    S.O.S. Mathematics CyberBoard Forum Index -> Probability and Statistics
View previous topic :: View next topic  
Author Message
bluesilver
S.O.S. Oldtimer


Joined: 12 Sep 2004
Posts: 184

PostPosted: Fri, 20 Oct 2006 18:28:27 UTC    Post subject: covariance matrix Reply with quote

I have the question regarding the calculation of the covariance matrix that is used in multiple linear regression models. Suppose that B is the vector of regression coefficients, X is the matrix of the levels of the regressor variables, and σ^2 is the unknown variance of errors. Then X' is the transpose of X, (X'X)^-1 is the inverse of X'X. Then the covariance matrix is
Cov(B) = σ^2 (X'X)^-1
OK, that is what I see in the textbook. So, my question is: can I use the unbiased estimator of σ^2 (i.e., the residual mean square) instead of σ^2 to calculate the covariance matrix above? If not, please tell me of other methods of calculating the covariance matrix.
Back to top
View user's profile Send private message
royhaas
Member of the 'S.O.S. Math' Hall of Fame


Joined: 23 Jun 2003
Posts: 2023
Location: San Antonio,Texas USA

PostPosted: Fri, 20 Oct 2006 19:24:50 UTC    Post subject: Reply with quote

Yes, use the MSE. Note that in linear regression the X matrix is treated as a constant, so there are no problems. The MSE will have n-p degrees of freedom for a matrix of column rank p.
_________________
Live long and prosper.
Back to top
View user's profile Send private message Send e-mail AIM Address
Bilbo
Member of the 'S.O.S. Math' Hall of Fame


Joined: 14 Jan 2006
Posts: 690
Location: Yountville, California

PostPosted: Fri, 20 Oct 2006 19:28:04 UTC    Post subject: Re: covariance matrix Reply with quote

bluesilver wrote:
I have the question regarding the calculation of the covariance matrix that is used in multiple linear regression models. Suppose that B is the vector of regression coefficients, X is the matrix of the levels of the regressor variables, and σ^2 is the unknown variance of errors. Then X' is the transpose of X, (X'X)^-1 is the inverse of X'X. Then the covariance matrix is
Cov(B) = σ^2 (X'X)^-1
OK, that is what I see in the textbook. So, my question is: can I use the unbiased estimator of σ^2 (i.e., the residual mean square) instead of σ^2 to calculate the covariance matrix above? If not, please tell me of other methods of calculating the covariance matrix.

Using an estimate of provides an estimate of the covariance matrix, not the covariance matrix itself. But estimate is all you can do.
Back to top
View user's profile Send private message
bluesilver
S.O.S. Oldtimer


Joined: 12 Sep 2004
Posts: 184

PostPosted: Fri, 20 Oct 2006 19:28:25 UTC    Post subject: Reply with quote

Great. Thank you. I'm just curious - are there also other methods, or there is only one method of calculating the covariance matrix?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    S.O.S. Mathematics CyberBoard Forum Index -> Probability and Statistics All times are UTC
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Contact Us | S.O.S. Mathematics Homepage
Privacy Statement | Search the "old" CyberBoard

users online during the last hour
Powered by phpBB © 2001, 2005-2010 phpBB Group.
Installation and all modifications: H. Knaust
Copyright © 1999-2010 MathMedics, LLC. All rights reserved.
Math Medics, LLC. - P.O. Box 12395 - El Paso TX 79913 - USA