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.

Jordan decomposition

Postby luxu1983 » Thu Mar 25, 2010 11:56 am

dear
how can i do Jordan decomposition,if i have matrix a ||1,3|3,2||?
thank you very much :D
luxu1983
 
Posts: 67
Joined: Wed Aug 12, 2009 10:53 pm

Re: Jordan decomposition

Postby TomDoan » Thu Mar 25, 2010 12:19 pm

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.
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm


Return to Help With Programming

Who is online

Users browsing this forum: No registered users and 1 guest