Uwe's Maxim: Computers are cheap, and thinking hurts.
Firstly, don't call your matrix 'matrix'. Would you call your dog 'dog'? Anyway, it might clash with the function 'matrix'. -- Barry Rowlingson R-help (October 2004)
8 Difference between forecast and prediction? jul 23 '13
7 Power analysis with R jul 4 '13
4 Order of variables in R lm model jul 3 '13
4 What is the correct procedure to choose the lag when performing Johansen cointegration test? dec 31 '12