Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Other Topics > Business, Finance, and Investing
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #27  
Old 11-07-2007, 01:38 PM
DcifrThs DcifrThs is offline
Senior Member
 
Join Date: Aug 2003
Location: Spewin them chips
Posts: 10,115
Default Re: Market Model Thingy

[ QUOTE ]
The function pinv calculates the pseudoinverse:

matlab link

Sometimes the matrix inv(A'*A) has a determinant that is close to 0, so it close to non invertible. In this case there could actually be a family of vectors that minimizes the least-squares distance.

Matlab points this out by warnings...something about the condition number too high. If matlab is fine with regress (no warnings), then regress is ok.

In financial application this happens sometimes when you have inputs that are highly correlated...I guess it's ok if you have a lot of inputs, like in OP-s case.

[/ QUOTE ]

thanks. the stuff i have in matlab hasn't caused any errors like the one you mention.

for the future though that is very helpful.

does any other "fixes" come to your mind regarding data analysis in matlab? like something along the pinv type fix?

thanks again,
Barron
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:09 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.