## Summary

**TLDR:** According to my preliminary model, the altruistic investing portfolio should ultimately allocate 5–20% on a risk-adjusted basis to mission-correlated investing. But for the current EA portfolio, it's better on the margin to increase its risk-adjusted return than to introduce mission-correlated investments.

The purpose of mission-correlated investing is to earn more money in worlds where your money matters more. For instance, if you're working to prevent climate change, you could buy stock in oil companies. In worlds where oil companies are more successful and climate change gets worse, you make more money.

Previous work by Roth Tran (2019)^{[1]} proved that, under certain weak assumptions, philanthropists should invest more in so-called "evil" companies than they would from a pure profit-making standpoint. This result follows from the assumption that a philanthropist's actions become more cost-effective when the world gets worse along some dimension.

That's an interesting result. But all it says is altruists should invest more than zero in mission hedging. How much more? Am I supposed to allocate 1% of my wealth to mission-correlated assets? 5%? 100%?

To answer this question, I extended the standard portfolio choice problem to allow for mission-correlated investing. This model makes the same assumptions as the standard problem—asset prices follow lognormal distributions, people experience constant relative risk aversion, etc.—plus the assumption that utility of money increases linearly with the quantity of the mission target, e.g., because the more CO2 there is in the atmosphere, the cheaper it is to extract.

I used this model to find some preliminary results. Future work should further explore the model setup and the relevant empirical questions, which I discuss further in the future work section.

Here are the answers the model gives, with my all-things-considered confidence in each:

- Given no constraints, philanthropists should allocate somewhere between 2% and 40% to mission hedging on a risk-adjusted basis
^{[2]}, depending on what assumptions we make.*Confidence: Somewhat likely.*[More] - Given no constraints, and using my best-guess input parameters:
- Under this model, a philanthropist who wants to hedge a predictable outcome, such as CO2 emissions, should allocate ~5% (risk-adjusted) to mission hedging.
- Under this model, a philanthropist who wants to hedge a more volatile outcome, for example AI progress, should allocate ~20% to mission hedging on a risk-adjusted basis.

- If you can't use leverage, then you shouldn't mission hedge unless mission hedging looks especially compelling.
*Confidence: Likely.*[More] - If you currently invest most of your money in a legacy investment that you'd like to reduce your exposure to, then it's more important on the margin to seek high expected return than to mission hedge.
*Confidence: Likely.*[More] - The optimal allocation to mission hedging is proportional to: (
*Confidence: Likely*)- the correlation between the hedge and the mission target being hedged;
- the standard deviation of the mission target;
- your degree of risk tolerance;
- the inverse of the standard deviation of the hedge.

*Cross-posted to my website.*

# Setup

## The goal

We have some utility function that says how much we value the state of the world. Our utility function cares about two things: (1) our wealth and (2) some mission target. The mission target is a measure of an outcome we care about. For example, if we want to hedge climate change, the mission target is the level of CO2 in the atmosphere. If we're hedging factory farming, the mission target could be the number of animals on factory farms.

Suppose there are two things we can invest in: an MVO (mean-variance optimal) asset and a hedge asset. (Note: usually MVO stands for "mean-variance optimization", but I'm using it to mean "mean-variance optimal".) Let the MVO asset be the investment that maximizes expected utility of wealth without regard to the mission target^{[3]}. Let the hedge asset be an investment that's correlated with the mission target and uncorrelated with the MVO asset—for example, a climate change hedge could consist of buying oil stocks + shorting the S&P 500. We choose some proportions of our wealth to invest in each of the MVO asset and the hedge asset. This total could add up to more than 100% (by using leverage) or it could be negative (by short selling).

Then we want to find the asset proportions that maximize expected utility.

As an example, say we can invest in two securities: XOM (Exxon Mobil) and SPY (S&P 500 index fund). The MVO asset might be {90% SPY, 10% XOM}, and the hedge asset might be {100% XOM, –100% SPY}. That means, by assumption, {90% SPY, 10% XOM} maximizes expected utility when holding the mission target constant.

If we invest 90% in the MVO asset and 10% in the hedge asset, then our allocation becomes

```
0.9 (90% SPY + 10% XOM) + 0.1 (100% XOM – 100% SPY)
= 71% SPY + 19% XOM
```

That is, 71% long SPY and 19% long XOM, with the remaining 10% in cash.

The hedge asset is a combination of positions that (by definition) has no correlation to the MVO asset. But we might never invest directly in the hedge asset. In the example above, even though the hedge includes both long and short positions, our final allocation doesn't require short-selling. And in practice, you probably wouldn't think about how to allocate between (90% SPY, 10% XOM) and (100% XOM, -100% SPY). You'd just think about how to allocate between SPY and XOM. But for the sake of analyzing the problem, it's easier to think in terms of a mean-variance optimal asset vs. an uncorrelated hedge asset.

Importantly, mission hedging climate change doesn't just mean we allocate more than 0% to oil stocks. It means we allocate *more to oil stocks than a typical investor would*. In this example, a normal investor allocates 10% to XOM, while a mission hedger allocates 19%.

Note A: Mission hedging is a special case of mission-correlated investing. It's the most intuitive case, so I will focus on it in this essay, but the model I present could be adapted to apply to other types of mission-correlated investing. See Appendix A for how this could be done.

Note B: This model of mission hedging uses an extension of mean-variance optimization, but it's not obvious that this is a good approach. See Appendix B for more on why I used this method.

## The utility function

Following Roth Tran (2019), we want our utility function to meet the following criteria. Plain descriptions on the left, mathematical definitions on the right, with U = utility, W = wealth, b = mission target (which Roth Tran called a "bad activity", although in my model, it's not necessarily bad):

- More wealth is better:
- More of the mission target is worse:
- More of the mission target makes wealth more valuable:

This describes a broad class of utility functions—so broad that it can't give much practical guidance. Let's pin down some more requirements:

- Wealth has diminishing marginal utility:
- Sufficient wealth can eliminate almost all of the mission target, but never quite all of it:
- We have constant relative risk aversion with respect to wealth:

A constant relative risk aversion (CRRA) utility function looks like

where (that's the Greek letter gamma) is a constant that's greater than 1. For our utility function to account for the mission target, we need to ensure (a) utility decreases with the mission target and (b) wealth mitigates the mission target, up to a maximum of 100% mitigation.

So we can define

given some function that defines how utility scales with the mission target.^{[4]}

The term says that the utility of wealth scales with . The term says that total utility decreases with .

What is the shape of the badness function? As an example, consider climate change. If the atmosphere contains twice as much CO2, you can remove it approximately twice as quickly.^{[5]} In general, interventions to prevent a bad activity are plausibly twice as effective when there's twice as much of the bad thing. So we can say .

Our utility function simplifies to

For example, gives

If we wanted to, we could generalize this to for some constant . That would allow utility to change non-linearly with , which more accurately describes many real-world situations. For this essay, to keep things simple, I will stick with .

These assumptions imply that we should mission hedge rather than mission leverage. But there are related assumptions that suggest we should mission leverage. For example, if we change the third condition to , that means wealth becomes more valuable as the mission target increases, so we should mission leverage.

**Why this utility function?**

Most of the listed criteria make perfect sense—e.g., of course more wealth is better and more of the mission target is worse. It's not always true that when the mission target gets worse, our spending becomes more cost-effective. But it's true in some cases, and those are the cases where we'd want to consider mission hedging.

The weirdest thing about this utility function: it has an upper bound. Why is that? Couldn't we produce arbitrarily high value for the world if we had sufficient wealth?

A bounded utility function makes sense if we think of ourselves as committed to minimizing the harm of a particular mission target. For instance, there's an upper bound to how much climate change we can prevent, namely, all of it. If we mitigate 100% of climate change, that provides an upper bound on how much good we can do.

Note: This utility function implies that impact investing doesn't work—the way you invest doesn't directly change the world. That might be false, but I'll treat it as true for now.

## Some more assumptions

**The philanthropist doesn't care about anyone else's investment portfolio.**

In reality, philanthropists should value the investments of other like-minded people. Instead of maximizing the expected utility of their personal portfolio, they should consider the aggregate portfolio across all value-aligned investors. They should invest in whatever way best improves the aggregate portfolio on the margin.

However, it makes more sense to start by modeling what philanthropists should do in the aggregate, and then later use that to figure out what to do on the margin. This post focuses on that first step.

**The risk-free rate is 0%.**

A more sophisticated model should include a term for the risk-free rate, but it's simpler to assume that the rate is 0%, and this simplification doesn't change much.

**All random variables are lognormally distributed.**

It's common to assume that asset prices follow lognormal distributions. I also assume that the quantity of mission target is lognormally distributed, which makes sense if it's something that tends to grow exponentially (CO2 emissions, AI progress, and numbers of farmed animals probably all behave this way).

**The MVO asset has an arithmetic mean return of 8% and a standard deviation of 18%.**

I could spend all day talking about market expectations, but in short, I believe these numbers appropriately represent an aggressive but appropriately-diversified portfolio (e.g., a global equity index fund).

The optimal degree of mission hedging isn't determined by the expected return or standard deviation alone, but by the ratio between the two.

(I wrote more about market expectations in a previous essay.)

**The hedge asset has an arithmetic mean return of 0% and a standard deviation of 18%.**

By assumption, the MVO asset is the optimal selfish portfolio, and the hedge asset has zero correlation with the MVO asset. That means the optimal selfish portfolio contains no allocation to the hedge, and therefore the hedge asset *cannot* have an expected return greater than 0%.

If expected return equals 0%, then you can add leverage or mix in cash to get whatever standard deviation you want. I set the standard deviation at 18% so it's the same as the MVO asset.

**The MVO asset has zero correlation to the mission target.**

This might not actually be true, but it keeps things simple. To the extent that the MVO asset is positively correlated with the mission target, that makes investing in the MVO asset look more compelling. It does not reduce the optimal allocation to the hedge, but it does reduce the optimal *relative* allocation. For example, increasing the correlation might change the optimal allocation of (MVO, hedge) from (200%, 30%) to (210%, 30%).

# Results

We now have a model of the expected utility of mission hedging. What does this model say a philanthropist should do?

That depends on the inputs. This model has four free variables:

- : correlation between the hedge asset and the mission target
- : risk aversion
- : arithmetic mean growth rate of the mission target
- : standard deviation of the growth rate of the mission target

The model outputs are and : the optimal allocations to the MVO asset and the hedge asset, respectively.

## Unconstrained results

In this section, I provide a formula for the solution, then I offer some concrete answers for particular numeric inputs.

### General solution

The MVO asset's optimal portfolio allocation is given by

where and are the arithmetic mean and standard deviation of the MVO asset, respectively.

(This is identical to the solution to Merton's portfolio problem for an ordinary investor.)

And optimal hedge allocation equals

where is the covariance of the mission target and the hedge, and is the standard deviation of the hedge.

We could also write this as

where is the standard deviation of the mission target.

That means the optimal allocation to the hedge asset is proportional to its correlation with the mission target, proportional to the mission target's standard deviation, and inversely proportional to the standard deviation of the hedge and to the philanthropist's degree of risk aversion.

(See Appendix C for proof.)

Some qualitative observations:

- and are independent, except that they both depend on risk aversion .
- increases with and , decreases with and , and does not change with . This makes intuitive sense:
- We want to mission hedge more when our hedge is more effective (higher covariance with the mission target), including when the mission target is more volatile.
- We want to mission hedge less when the hedge is more volatile. We get more "bang for our buck" with each dollar we put in the hedge, so we don't need as much.
- We want to mission hedge less when we're more risk-averse, because we prefer a safer (less volatile) portfolio.

- It's perhaps not immediately obvious why varies with but not . The explanation is that we're trying to hedge against future worlds where the mission target is
*unexpectedly*prevalent, which is more likely to happen when is large.^{[6]}doesn't affect how the hedge covaries with the mission target. - The optimal relative allocation does not depend on risk aversion . In other words, risk aversion doesn't change our relative preference for hedging vs. traditional investing.

### Specific numeric results

When provided reasonable inputs, what output does this model give?

Within a reasonable range of inputs, the optimal relative allocation to the hedge asset falls between 1.7% and 29%. So, at least given the model assumptions described previously, we know that 50% is too much and 0.1% is not enough.

Specifically, I tested input values within these ranges:

- (correlation) from 0.25 (weak hedge) to 0.9 (very strong hedge)
- (risk aversion) from 1.1 (approximately logarithmic) to 2 (substantially risk-averse)
- (mission target volatility) from 3% (highly stable thing, e.g., CO2 emissions
^{[7]}) to 20% (volatile or hard-to-predict thing, e.g., AI progress^{[8]})

Mission hedging looks most favorable when . With those parameters, the optimal portfolio allocates 71% to the MVO asset and 29% to the hedge in relative terms. The absolute allocations depend on . With , the optimal allocation is 227% MVO, 91% hedge (giving 3.18:1 leverage). gives 124% MVO, 50% hedge.

(I do think it's plausible that for some causes, so the optimal relative allocation to mission hedging could perhaps be higher than 29%. gives a relative allocation of up to 38%.)

Mission hedging looks least favorable when . In that case, the optimal relative allocation is 98.3% MVO, 1.7% hedge.

Mission hedging boosts expected utility by 0.01% on the low end and 0.3% on the high end.

It's still an open question as to whether we should invest closer to 1.7% or closer to 29% in mission hedging. That depends on (a) the correlation between the hedge and the mission target and (b) the volatility of the mission target, which I will leave as questions for future research.

For bigger tables of results, see Appendix D.

## Results with a leverage constraint

All the optimal portfolios so far have required us to use leverage—sometimes a lot of leverage. But many investors can't, at least not easily. What happens if we constrain the solution to disallow leverage?

This changes the results in one key way: Unless we're particularly risk-averse, we can't take on as much risk as we want to. If we want to mission hedge, we have to give up some expected return. That doesn't mean we should *never* mission hedge, but it does change the tradeoffs.

Specifically, it means we should allocate 0% to mission hedging unless (a) mission hedging looks particularly compelling (high volatility of the mission target, high correlation) or (b) we're very risk-averse, to the point that we wouldn't want to use leverage anyway (given the return/risk expectations I used, this happens when ). At , we only want to mission hedge if , which is probably unattainable.

## Results with a legacy investment

One common scenario: You have a lot of money in some position. It's not well-diversified, but you still hold it for historical reasons. Maybe you don't want to sell all of your legacy asset right away, but you can sell a little bit and invest the proceeds in something else. Should you prioritize mission hedging, or is it better to invest in the mean-variance optimal asset?

Under this model, you should prefer the MVO asset, even given parameters that heavily lean toward mission hedging.^{[9]} Even if we already invest half our portfolio in the MVO asset (and the other half in the legacy asset), it's still (slightly) better on the margin to move money into MVO.^{[10]}

This is a much stronger result than what we got from the unconstrained model—the input parameters don't change the outcome except at the extreme high end.

# How accurate is this model?

Getting results out of a model always requires making a lot of assumptions. And every time you make an assumption, that's another opportunity for the model to diverge from reality.

My mission hedging framework includes a lot of parameters, which are easy to modify. It also builds in some less-easily-fixable properties, including:

- This model treats investment returns as lognormal. In reality, investments are more likely to show big declines than a lognormal distribution would suggest. A more accurate model would invest more conservatively, but it's not clear how this would affect mission hedging. Intuitively, I'd expect an improved model to relatively favor whichever asset has a smaller left skew.
- This model uses a particular class of utility functions. These utility functions have certain nice features, for example, the optimal asset allocation doesn't depend on your time horizon or on how much money you start with. A philanthropist's real-life utility function probably doesn't look like the one I used, but real-life utility functions are notoriously difficult to ascertain. (We could perhaps improve the utility function by further investigating how our ability to do good varies with the target we're trying to hedge.)
- This model treats leverage, short positions, and trading as free. But even for investors who can use leverage and shorts, they have to pay some extra cost for those.
- This model ignores the direct effects of investing. Buying stock in a company might cause the company to become more successful. And philanthropists might want to prioritize impact investing over mission hedging or profit maximization.

The most robust output of this model is the result with a legacy investment: if you currently hold most of your money in a legacy investment, then it's better on the margin to shift toward the mean-variance optimal portfolio than to shift toward mission hedging. This result held true regardless of how I changed the model parameters (within reason). However, this result still depends on the choice of utility function, and it's possible to construct a utility function where it's better on the margin to put funds toward mission hedging.

For an unconstrained portfolio, it's unclear how much to mission hedge. This model can produce a wide range of numbers depending on input parameters. The choice of risk aversion has a fairly small impact, choice of correlation has a moderate impact, and the standard deviation of the mission target matters a lot.^{[11]} This suggests that, if we want to know more about what to do, we should prioritize figuring out the mission target's volatility.

# Future work

Six ideas for projects that could help philanthropists decide how to mission hedge:

**1. What changes would make mission hedging worthwhile on the margin?**

The strongest conclusion of my model is that, on the margin, mission hedging is worse than improving the risk-adjusted return of an investment portfolio. This result held across a range of input parameters. What assumptions could break this result? Are those changes reasonable?

If no such changes exist, we can conclude that mission hedging isn't worth doing in practice.

**2. Mission hedging vs. impact investing.**

Many philanthropists want to directly do good with their investments. But impact investing often has the exact opposite prescriptions as mission hedging. Does divestment do enough good to damper—or even negate—the benefits of mission hedging? Should we over-weight investments in bad things, or under-weight them? How do we decide?

Jonathan Harris, founder of the Total Portfolio Project, has done some relevant work^{[12]} on this.

**3. Find the specific assets that provide the strongest mission correlation.**

What can we invest in to mission hedge various causes? Which ones will work best? Or, in cases where mission leverage makes more sense than mission hedging, which assets provide the most effective mission leverage? And how can we tell?

For some causes, like climate change (and maybe farm animal welfare), plenty of data exists, and it's just a matter of putting it together. For others, there's not much existing data, so we'd have to get more creative.

**4. Optimization over real-world historical data.**

Pick some mission target, then get historical data on the growth rate/volatility of that target and find an investment asset that hedged it well. What would the historically optimal portfolio allocation have been?

Using real-world data alleviates certain concerns with using a model. The model assumes asset prices follow lognormal distributions and maintain consistent correlations over time, but those things aren't true. Optimizing over historical data would show us how asset prices really behave (or, at least, how they used to behave).

Getting this data shouldn't be too hard to do for some causes. For climate change, we could look at historical annual CO2 emissions, market returns, and returns for some plausibly good hedges like oil company stocks or oil futures.

**5. Shape of the utility function.**

Does the marginal utility of wealth really increase linearly with the mission target? Maybe it increases with some power function of the mission target, or maybe the relationship is more complicated. What if the mission target is a *good* thing (see here for examples)?

My current thinking on this subject is pretty primitive, so I expect there's room to come up with something a lot better.

**6. Alternative approaches for evaluating mission-correlated investing.**

Could we look at the value of mission-correlated investing in an entirely different way? What other methods might we use to decide how much of our portfolio (if any) to dedicate to it? Could we decide on a percentage allocation using a qualitative, rather than quantitative, approach?

# Acknowledgments

Thank you to Jonathan Harris for providing feedback on drafts of this essay.

# Appendices

## Appendix A: Mission leveraging

Mission leveraging is the opposite of mission hedging. With mission hedging, we invest in a way that gives us more money when the world gets worse. With mission leveraging, we get more money when the world gets *better*, doubling down on our mission instead of hedging it.

I won't discuss when to hedge vs. leverage in full generality. (See here for a discussion plus some real-world examples.) But when should we hedge vs. leverage when we're working with the class of utility functions discussed in this essay?

With any utility function that matches my stated assumptions, we always prefer to mission hedge. But there are similar utility functions under which we'd prefer to leverage.

We can take a utility function with the same form as before:

But instead of , let . This changes two of the six stated assumptions:

- Utility is now bounded below by 0, and has no upper bound.
- is now a good thing: utility is positive instead of negative, which means a larger increases utility rather than decreasing it.

Because is now a good thing, by investing in an asset that's correlated with , we are leveraging rather than hedging.

If we want to be a bad thing, we can write the utility function as . The solution with this new utility function becomes:

So now, rather than buying the hedge asset, we want to short it. And the higher its covariance with , the larger our short position should be. In other words, we want to mission leverage.

In broad terms, when utility of wealth grows quickly (), we should leverage. And when utility of wealth grows slowly (), we should hedge.

The exact conditions are:

- When is negative, is a bad thing. When it's positive, is a good thing.
- When has the same sign as , we want to leverage. When it has an opposite sign, we want to hedge.

## Appendix B: Why use this approach?

The model I use in this post is an extension of Harry Markowitz's mean-variance optimization model (see Markowitz (1952)^{[13]}). Markowitz won a Nobel Prize for this model, and it has been explored extensively in academic finance. At the same time, few investing practitioners use it.

Mean-variance optimization finds the portfolio with the best risk-adjusted return (a.k.a. Sharpe ratio) when given a set of assets with known means, standard deviations, and correlations with each other. This approach has some serious downsides:

- If you feed the model historical data for return/volatility/correlation, the model only tells you what portfolio would have been optimal historically. As William Bernstein put it: "If you can predict the optimizer inputs well enough to come close to the future [optimal portfolio], then you don't need an optimizer in the first place."
^{[14]} - The Sharpe-ratio-maximizing portfolio is only optimal if standard deviation fully captures what people mean by "risk" (spoiler: it doesn't).
- Often, the resulting portfolio requires using so much leverage that it's impossible to invest in in practice.

Most practitioners prefer other portfolio construction approaches. A simple equal-weight strategy—where you divide your money evenly across every asset class—works pretty well.^{[15]}^{[16]} However, a few firms (such as RHS Financial) explicitly use portfolio optimization, but instead of naively inputting historical data, they take a sophisticated approach to generate more reasonable model results.

So mean-variance optimization doesn't produce good results (at least if applied naively). Why, then, am I extending this model to mission-correlated investing?

One reason is that it's a good starting point—this model is well-understood, and so a simple extension of it is easy to reason about.

A second reason is that, just as recent research has found more practical variations on the mean-variance approach, so too might we find a modification of my model that fixes the biggest issues. (It might be as simple as taking a published extension to the Markowitz model and incorporating mission-correlated investing.)

But most importantly, it's because I don't see how a non-quantitative approach could work. With ordinary investing, you can simply invest in an equal-weighted portfolio and you won't go too wrong. Or you can use popular rules of thumb like 60% stocks, 40% bonds. But there's no fallback approach for allocating to mission-correlated investing. Equal-weighting would tell us to put 50% in mission hedging/leveraging, which seems excessive. And we don't have any convenient rules of thumb, either. Without any strong guiding heuristics, I believe the best approach is to make a bunch of reasonable(ish) assumptions and use those to explicitly calculate the portfolio that maximizes expected utility.

## Appendix C: Proof of analytic solution

*Thanks to Gordon Irlam's Lifetime Portfolio Selection: A Simple Derivation, which provides a simple proof of the asset allocation result from Merton (1969) ^{[17]}, and which I found indispensable in proving the result in this section.^{[18]}*

Recall that we defined

For this proof, let's generalize this to

where determines the rate at which it becomes easier to affect the mission target as the mission target grows.

Wealth is determined by the proportional allocation to the MVO asset and to the hedge asset and the returns of each. Each variable follows a lognormal distribution.

A single-variable lognormal distribution is given by where is a standard normal distribution (with mean 0 and standard deviation 1).

is a lognormal distribution given by .

Our objective is to maximize expected utility with respect to allocations and :

Expanding and , we get

where are all standard normal distributions.

(ignoring the in the denominator, because scaling by a constant does not change the argmax)

When taking an expected value, we can separate out any independent variables—. By assumption, is independent of both and . So we can separate this into two maximization problems:

The first problem is simply the traditional portfolio optimization problem, which has the solution

If we let , we can write this as . This is convenient in some cases because is the arithmetic mean of a lognormal distribution.

The second maximization problem does not have a pre-existing solution (to my knowledge), so let's solve it.

If and have correlation , then the part inside the exponent is a sum of dependent normally distributed random variables. The mean of the sum is simply the sum of the means. The standard deviation of the sum equals

Note that is the covariance between and , so we can replace this with .

The expected value of a lognormal distribution parameterized by and is . Maximizing this quantity is equivalent to maximizing its logarithm, so we want to find

At this point, it is convenient to replace with (recall that is the log of the arithmetic mean). In an efficient market, an uncorrelated asset such as a mission hedge has , which allows us to ignore the term if we want to.

Setting the derivative to 0,

Solving for and simplifying gives

And naturally, for , this further simplifies to

Jonathan Harris wrote an alternative proof here, starting from the model he developed in A Framework for Investing in Altruism—which is more general than my model—and plugging in some numbers. His model provides an approximation, not an exact general solution, but the solution happens to be exact in this case.

## Appendix D: Tables of optimization results

Results for

market | hedge | ratio | ||
---|---|---|---|---|

0.25 | 1.1 | 2.245 | 0.038 | 1.7% |

1.5 | 1.646 | 0.028 | 1.7% | |

2.0 | 1.235 | 0.021 | 1.7% | |

0.5 | 1.1 | 2.245 | 0.076 | 3.3% |

1.5 | 1.646 | 0.056 | 3.3% | |

2.0 | 1.235 | 0.042 | 3.3% | |

0.9 | 1.1 | 2.245 | 0.136 | 5.7% |

1.5 | 1.646 | 0.100 | 5.7% | |

2.0 | 1.235 | 0.075 | 5.7% |

Results for (note: optimal absolute market allocation for a given $\gamma is the same as for )

market | hedge | ratio | |
---|---|---|---|

0.25 | 1.646 | 0.185 | 10.1% |

0.5 | 1.646 | 0.370 | 18.4% |

0.9 | 1.646 | 0.667 | 28.8% |

Results for

market | hedge | ratio | |
---|---|---|---|

0.25 | 1.646 | 0.278 | 14.4% |

0.5 | 1.646 | 0.556 | 25.2% |

0.9 | 1.646 | 1.000 | 37.8% |

Results for , no leverage allowed (), computed by numeric approximation:

market | hedge | ||
---|---|---|---|

0.25 | 1.1 | 1.497 | -0.497 |

1.5 | 1.230 | -0.230 | |

2 | 1.048 | -0.048 | |

0.5 | 1.1 | 1.370 | -0.370 |

1.5 | 1.138 | -0.138 | |

2 | 0.978 | 0.022 | |

0.9 | 1.1 | 1.177 | -0.177 |

1.5 | 0.992 | 0.008 | |

2 | 0.869 | 0.131 |

## Appendix E: Numeric approximation of the optimal solution

It is possible to numerically approximate the optimal allocation for any utility function. In this section, I describe how I did this.

*Epistemic status: Before I started working on this problem, I didn't understand most of the required math, and I picked it up as I went along. So there's a reasonable chance that I'm making some mistakes.*

We want to find the utility-maximizing asset allocation, where:

- Utility is a two-dimensional function of wealth and the mission target.
- There are three lognormally-distributed random variables: price of the MVO asset , price of the hedge asset , and quantity of the mission target .

The three variables are parameterized by a length-3 mean vector and a covariance matrix , which together describe a three-dimensional multivariate normal distribution. The random variables we care about——are defined as the exponentials of three normally-distributed random variables , which together form a vector . That is, .

The probability density function for a three-variable multivariate normal distribution is

where is the inverse of the covariance matrix and is its determinant.

Transforming this normal density function into lognormal space according to the multivariate change of variables formula, letting , we have

where is the determinant of the Jacobian matrix of . (This Stack Exchange post gives an intuitive explanation of why the change-of-variables formula works this way.)

Let be the asset proportions in the MVO asset and the hedge asset, respectively (recall that these can sum to greater or less than 1, and they can be negative). Wealth is then calculated as . The mission target is simply the third value of the random vector .

Expected utility is given by

Our goal is to maximize this function.

To solve this problem, I wrote a program to compute expected utility using numerical integration and then perform gradient descent to find the optimal asset proportions.

My numerical integration uses Richardson's extrapolation formula^{[19]} with 12 and 24 trapezoids per dimension (up to 24<sup>3</sup> = 13,824 four-dimensional trapezoids per integral). According to my tests, this method is accurate to within 0.02% (e.g., if the true optimal allocation is 10%, this method will give an answer between 9.998% and 10.002%).

I define the trapezoid bounds by first generating evenly-spaced 3D bases for a three-variable i.i.d. standard normal distribution. Then I transform the bounds of these squares according to , where is the vector of standard deviations for the three variables in . Then I use these new bounds given by as the base of each trapezoid. This transformation function assumes the three variables are independent, which they're not, but I found that this method was accurate enough.

My source code is available here.

# Notes

Brigitte Roth Tran (2019). Divest, Disregard, or Double Down? Philanthropic Endowment in Objectionable Firms. ↩︎

An allocation of (say) 20% on a risk-adjusted basis means that 20% of the risk of my portfolio comes from mission hedging investments, which is not the same as a 20% allocation. For example, if my normal investments have a 15% standard deviation and my mission hedging investments have a 30% standard deviation, then I should allocate 11% to mission hedging, because 11% * 30% / (11% * 30% + 89% * 15%) = 20%. ↩︎

Technically, "mean-variance optimal" means that if you apply leverage or mix in cash, this portfolio maximizes the arithmetic mean return for any given variance, or (equivalently) minimizes variance for any given mean return. In realistic conditions, you might not want to invest in the MVO portfolio (e.g., because you don't want to use leverage), so I'm generalizing the term "MVO" to refer to the optimal portfolio from a self-interested standpoint, even if it's not technically mean-variance optimal. ↩︎

If , this is equivalent to a standard CRRA utility function (plus a constant). ↩︎

I spoke to an expert in carbon capture, who suggested that the cost of removing CO2 from the atmosphere scales roughly with the square root of atmospheric concentration. As shown by the formula in Appendix C, using a square root function instead of a linear function would halve the optimal allocation to mission hedging. But this expert also suggested that higher atmospheric CO2 would drive innovation on carbon removal, bringing the cost down, possibly resulting in a super-linear cost-effectiveness function. For simplicity, I will stick with a linear function for this essay. ↩︎

is defined as a CRRA utility function of scaled linearly by , and CRRA utility functions are invariant with scale. Changing changes the scaling, but that doesn't change the optimal allocation. ↩︎

Using World Bank data, I estimated that CO2 emissions growth has an annual volatility of 3%. ↩︎

I estimated the volatility of AI progress using the Electronic Frontier Foundation's AI Progress Measurement database, which aggregates ML model scores across a variety of benchmarks. I found a standard deviation of growth rate of about 15%. Let's bump this up to 20% to increase the width of the parameter range. ↩︎

gives

The gradient is largest in the direction of MVO, which means we maximize expected utility by moving in that direction. ↩︎

gives

Technically, optimal allocation varies linearly with both correlation and standard deviation of the mission target. But I have greater uncertainty about the standard deviation, and it can cover a wider range of plausible values. ↩︎

Jonathan Harris (2021). Investing for Impact in General Equilibrium. Working paper. ↩︎

Harry Markowitz (1952). Portfolio Selection. ↩︎

William Bernstein (1998). The Intelligent Asset Allocator. Kindle location 1082. ↩︎

Victor DeMiguel, Lorenzo Garlappi & Raman Uppal (2007). Optimal Versus Naive Diversification: How Inefficient Is the 1/N Portfolio Strategy? ↩︎

Georg Ch. Pflug, Alois Pichler & David Wozabal (2011). The 1/N investment strategy is optimal under high model ambiguity. ↩︎

Robert Merton (1969). Lifetime Portfolio Selection Under Uncertainty: The Continuous-Time Case. ↩︎

I didn't actually find the analytic solution by proving it. I originally wrote a program to numerically compute the optimal allocation. After messing with this program for a while, I discovered that the outputs appeared to change in predictable ways with the inputs, and I wrote down what I believed to be an analytic solution. Then, already having some confidence in the answer, I attempted to prove it. This provided some useful guidance—my original proof contained some mistakes, which I noticed because the result of my proof did not match the formula that I knew empirically to be correct. ↩︎

This site has a good explanation of how it works. In short, if is the numeric integral of a function using trapezoids per dimension, then the Richardson estimate is . ↩︎

Nicholas Bloom, Charles I. Jones, John van Reenen & Michael Webb (2020). Are Ideas Getting Harder to Find? ↩︎