| To: | <s-news@lists.biostat.wustl.edu> |
|---|---|
| Subject: | Re: Roll nlme |
| From: | "Chen,Sichong" <sichong.chen@postgrad.manchester.ac.uk> |
| Date: | Thu, 6 Apr 2006 23:53:44 +0800 |
| Thread-index: | AcZZkki2UM5h0ItmSpyDlIi7QcWnuA== |
|
Dear All This roll question reminds of previous problem. I have two matrix A (5000*60) and B (5000*60). What I need to do is to run the regression between the rows of A and B. out = A[1,]~B[1,]…, A[2,]~B[2,]…. A[5000,]~B[5000,]. Previously I used a loop to do 5,000 times of regression which cost about one hour. Since FinMetrics has the function like roll, do you know whether it has a function to solve this kind of problem faster? Another question bothered me for a long time is that the function like GARCH, glm etc, the outputs don’t have t-stats, they only reports coefficients. I have to use function summary and find the t-stats. It works if I use loop to save my results of t-stats but it does not works if I use roll because only the coefficients are save. Many thanks, Best, Sichong Chen
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: non_linear, Andreas Svensson |
|---|---|
| Next by Date: | help, alli charbes |
| Previous by Thread: | Re: Roll nlme, Chalvatzis, Dimitrios (Energy Wholesale) |
| Next by Thread: | Re: Roll nlme, Dimitrios Chalvatzis |
| Indexes: | [Date] [Thread] [Top] [All Lists] |