[R] Pointers to solutions to this PCA or Cononical Correlation type problem?

2010-07-14 Thread LosemindL
Hi all, I am sure this is a well-studied stats problem, could anybody give me some pointers? It's similar to Canonical Correlation study. We have a bunch of random variables, and want to figure out the set of linear combinations of these variables, such that their mutual correlations are all bo

[R] How do I plat timestamed (in seconds) data in R?

2010-07-06 Thread LosemindL
Hi all, I have an Nx2 array, where the first column contains the timestamps and the second column contains the corresponding data. second | ts | -- 14:25:00| 18 14:25:02| 14 14:25:04| 11 14:25:06| 4 14:25:08| 24 14:25:10| 13 14:25:12| 12 14:25:14| 6 14:25:16| 21 14:25:18| 37 14:25:20| 2

[R] Can anybody help me understand AIC and BIC and devise a new metric?

2010-07-05 Thread LosemindL
Hi all, Could anybody please help me understand AIC and BIC and especially why do they make sense? Furthermore, I am trying to devise a new metric related to the model selection in the financial asset management industry. As you know the industry uses Sharpe Ratio as the main performance benchm