How to calculate Rotation Matrix?

How can I calculate the covariance matrix of a linear least-squares fit? How is this matrix defined?

  • I know how to *use* the covariance matrix to get a confidence ellipse, and what its entries mean. I just don't know how you produce the matrix from the curve-fitting process in the first place.

  • Answer:

Sentient... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

Take your n by p observation matrix X. Covariance matrix C is: C = sigma^2(X^T*X) where sigma^2 is the estimated variance of the residuals r = y - Xb

Minh

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.