paper

Portfolio Optimization in R

arXiv:1307.0450

Abstract

We consider the problem of finding the efficient frontier associated with the risk-return portfolio optimization model. We derive the analytical expression of the efficient frontier for a portfolio of N risky assets, and for the case when a risk-free asset is added to the model. Also, we provide an R implementation, and we discuss in detail a numerical example of a portfolio of several risky common stocks.

9 pages, 5 figures