Markowitz mean-variance criterion in R
We perform Markowitz-style analysis on a portfolio of 4 stocks retrieved from Yahoo finance and plot the efficient frontier.
Then the optimal weights which minimize the risk-return relationship of each assets in the portfolio estimated and plotted.
Enjoy the content.