variance-covariance matrix (w/o data analysis kit)

R

Ryan

How do I calculate the variance/covariance matrix (w/o using the data
analysis kit)?

Say I have a matrix X (each column of the matrix represents a
different variable), would the consistent variance/covariance matrix
be X'X/(N-1)?

However, when I calculate the covariance-matrix from the data analysis
program, I get a different answer (even considering the n/n-1
recalculation) from X'X/(N-1). They are close but still slightly
different. What am I doing wrong?

Thank you for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top