Jordan decomposition

Use this forum to post questions about syntax problems or general programming issues. Questions on implementing a particular aspect of econometrics should go in "Econometrics Issues" below.
luxu1983
Posts: 61
Joined: Wed Aug 12, 2009 10:53 pm

Jordan decomposition

Unread post by luxu1983 »

dear
how can i do Jordan decomposition,if i have matrix a ||1,3|3,2||?
thank you very much :D
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Jordan decomposition

Unread post by TomDoan »

For this model, you can do that with:

Code: Select all

compute [rect] a=||1,3|3,2||
eigen a eigval eigvect
disp eigvect*%diag(eigval)*inv(eigvect)
Your input matrix has real eigenvalues with no repeats. For complex eigenvalues with no repeats, you can use EIGEN with the CVECTOR and CVALUE options to get the complex eigenvectors and eigenvalues. If you have a matrix which isn't diagonalizable (repeated eigenvalues with a deficient rank eigenspace), RATS doesn't offer a way to get the Jordan form. However, that's not an interesting case practically, since repeated eigenvalues are unlikely in practice except when forced explicitly, like a double unit root.
Post Reply