Giter VIP home page Giter VIP logo

efficient-frontier's Introduction

The Efficient Frontier of Philanthropy

The concept of an efficient frontier for investment portfolios originated with Harry Markowitz's Modern Portfolio Theory. Markowitz's main insight was that you can minimize the risk you take for any level of return by diversifying a portfolio. The end result is a hyperbola, often called the Markowitz Bullet, that demonstrates that greater returns are associated with higher risk. Although this approach to porfolio optimization has theoretical challenges and is less popular today, modified versions of MPT still underly many robo-advisors currently on the market (Wealthfront, WiseBanyan, Betterment).

frontier image

The following code implements this concept in Python, and is based on a blog post from Quantopian. Their original code returns an optimal portfolio for any given level of risk when given a list of historic returns for a group of assets. I then extend the concept of an efficient frontier to the area charitable giving, and refactor the code to take a list of charitable returns (in DALYs) and a covariance matrix as an input. The final output is a philanthropic efficient frontier.

See the jupyter notebook for further explanation, and visit this project on the Jupyter nbviewer to see the interactive plots. This code is a rough sketch of my concept, feel free to critique and contribute!

efficient-frontier's People

Contributors

psthomas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.