[R-SIG-Finance] Minimizing tracking error with restricted number of stocks

Vivek Rao vivekrao4 at yahoo.com
Thu Mar 8 03:08:10 CET 2018


Alec,
You could regress the returns of the 100-stock portfolio on the returns of the 100 stocks, using the Lasso or Elastic Net(there are R packages glmnet and elasticnet for these methods) to zero out most of the regression coefficients.
Vivek RaoBoston, MA
      From: Alec Schmidt <aschmid1 at stevens.edu>
 To: "r-sig-finance at r-project.org" <r-sig-finance at r-project.org> 
 Sent: Wednesday, March 7, 2018 8:55 PM
 Subject: [R-SIG-Finance] Minimizing tracking error with restricted number of stocks
   
Say I have a portfolio of 100 stocks and want to find a subset of 20 stocks with minimum tracking error in respect to the original portfolio. I wonder if a solver to this problem is implemented in some R-based library.

Thanks! Alec

    [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Finance at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should go.


   
	[[alternative HTML version deleted]]



More information about the R-SIG-Finance mailing list