![12.5 Computing Efficient Portfolios of N risky Assets and a Risk-Free Asset Using Matrix Algebra | Introduction to Computational Finance and Financial Econometrics with R 12.5 Computing Efficient Portfolios of N risky Assets and a Risk-Free Asset Using Matrix Algebra | Introduction to Computational Finance and Financial Econometrics with R](https://bookdown.org/compfinezbook/introcompfinr/12-portfolioTheoryMatrix_files/figure-html/PortMatrixEfficientPortfolioExample-1.png)
12.5 Computing Efficient Portfolios of N risky Assets and a Risk-Free Asset Using Matrix Algebra | Introduction to Computational Finance and Financial Econometrics with R
![Returns and Expected Returns 1. Holding period return P t = Price of asset at time t R t = % return from time t-1 to t CF t = cash flow Returns and Expected Returns 1. Holding period return P t = Price of asset at time t R t = % return from time t-1 to t CF t = cash flow](https://images.slideplayer.com/33/8178038/slides/slide_37.jpg)
Returns and Expected Returns 1. Holding period return P t = Price of asset at time t R t = % return from time t-1 to t CF t = cash flow
![Complete Risk and Portfolio Theory in Math, Excel, Python — Magic Behind 329% Profit or 1000% Sharpe Ratio | by Changyang Xu (Charlie) | Medium Complete Risk and Portfolio Theory in Math, Excel, Python — Magic Behind 329% Profit or 1000% Sharpe Ratio | by Changyang Xu (Charlie) | Medium](https://miro.medium.com/max/1400/1*AoC2hsURCx6pqm5Pv3qSmw.png)
Complete Risk and Portfolio Theory in Math, Excel, Python — Magic Behind 329% Profit or 1000% Sharpe Ratio | by Changyang Xu (Charlie) | Medium
![Complete Risk and Portfolio Theory in Math, Excel, Python — Magic Behind 329% Profit or 1000% Sharpe Ratio | by Changyang Xu (Charlie) | Medium Complete Risk and Portfolio Theory in Math, Excel, Python — Magic Behind 329% Profit or 1000% Sharpe Ratio | by Changyang Xu (Charlie) | Medium](https://miro.medium.com/max/1400/1*ebbkz4ZxA5gY4KlwtMPYcQ.jpeg)
Complete Risk and Portfolio Theory in Math, Excel, Python — Magic Behind 329% Profit or 1000% Sharpe Ratio | by Changyang Xu (Charlie) | Medium
![How to Calculate expected returns for a portfolio in Microsoft Excel « Microsoft Office :: WonderHowTo How to Calculate expected returns for a portfolio in Microsoft Excel « Microsoft Office :: WonderHowTo](https://img.wonderhowto.com/img/99/99/63475353456202/0/calculate-expected-returns-for-portfolio-microsoft-excel.1280x600.jpg)
How to Calculate expected returns for a portfolio in Microsoft Excel « Microsoft Office :: WonderHowTo
![Complete Risk and Portfolio Theory in Math, Excel, Python — Magic Behind 329% Profit or 1000% Sharpe Ratio | by Changyang Xu (Charlie) | Medium Complete Risk and Portfolio Theory in Math, Excel, Python — Magic Behind 329% Profit or 1000% Sharpe Ratio | by Changyang Xu (Charlie) | Medium](https://miro.medium.com/max/1400/1*cgYHiRl7vuCyF1P91q2NYg.png)
Complete Risk and Portfolio Theory in Math, Excel, Python — Magic Behind 329% Profit or 1000% Sharpe Ratio | by Changyang Xu (Charlie) | Medium
![Portfolio optimization using the efficient frontier and capital market line in Excel — Angel Demirev Portfolio optimization using the efficient frontier and capital market line in Excel — Angel Demirev](https://svbtleusercontent.com/mx40o9sdewqglg_retina.png)
Portfolio optimization using the efficient frontier and capital market line in Excel — Angel Demirev
![Complete Risk and Portfolio Theory in Math, Excel, Python — Magic Behind 329% Profit or 1000% Sharpe Ratio | by Changyang Xu (Charlie) | Medium Complete Risk and Portfolio Theory in Math, Excel, Python — Magic Behind 329% Profit or 1000% Sharpe Ratio | by Changyang Xu (Charlie) | Medium](https://miro.medium.com/max/1400/1*YvVql9R3x1QOR6jkhBXYuQ.png)