



















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




















Ashwin Rao
ICME, Stanford University
January 11, 2023
The broad topic is Investment Management Applies to Corporations as well as Individuals The two considerations are: How to allocate money across assets in one’s investment portfolio How much to consume for one’s needs/operations/pleasures We consider the dynamic version of these dual considerations Asset-Allocation and Consumption decisions at each time step Asset-Allocation decisions typically deal with Risk-Reward tradeoffs Consumption decisions are about spending now or later Objective: Horizon-Aggregated Expected Utility of Consumption
Assume: Current wealth is W 0 > 0, and you’ll live for T more years You can invest in (allocate to) n risky assets and a riskless asset Each risky asset has known normal distribution of returns Allowed to long or short any fractional quantities of assets Trading in continuous time 0 ≤ t < T , with no transaction costs You can consume any fractional amount of wealth at any time Dynamic Decision: Optimal Allocation and Consumption at each time To maximize lifetime-aggregated Expected Utility of Consumption Consumption Utility assumed to have Constant Relative Risk-Aversion
For simplicity, we state and solve the problem for 1 risky asset but the solution generalizes easily to n risky assets. Riskless asset: dRt = r · Rt · dt Risky asset: dSt = μ · St · dt + σ · St · dzt (i.e. Geometric Brownian) μ > r > 0 , σ > 0 (for n assets, we work with a covariance matrix) Wealth at time t is denoted by Wt > 0 Fraction of wealth allocated to risky asset denoted by π(t, Wt ) Fraction of wealth in riskless asset will then be 1 − π(t, Wt ) Wealth consumption per unit time denoted by c(t, Wt ) ≥ 0 Utility of Consumption function U(x) = x
1 −γ 1 −γ for 0^ < γ^6 = 1 Utility of Consumption function U(x) = log(x) for γ = 1 γ = (Constant) Relative Risk-Aversion −x·U
′′(x) U′(x)
Think of this as a continuous-time Stochastic Control problem The State at time t is (t, Wt ) The Action at time t is [πt , ct ]
The Reward per unit time at time t is U(ct ) = c t^1 −γ 1 −γ The Return at time t is the accumulated discounted Reward: ∫ (^) T
t
e−ρ(s−t)^ ·
c s^1 −γ 1 − γ
· ds
Find Policy : (t, Wt ) → [πt , ct ] that maximizes the Expected Return Note: ct ≥ 0, but πt is unconstrained
Value Function for a State (under a given policy) is the Expected Return from the State (when following the given policy) We focus on the Optimal Value Function V ∗(t, Wt )
V ∗(t, Wt ) = max π,c
Et [
t
e−ρ(s−t)^ · c s^1 −γ 1 − γ
· ds +
e−ρ(T^ −t)^ · γ^ · W (^) T^1 −γ 1 − γ
V ∗(t, Wt ) satisfies a simple recursive formulation for 0 ≤ t < t 1 < T
V ∗(t, Wt ) = max π,c Et [
∫ (^) t 1
t
e−ρ(s−t)^ · c s^1 −γ 1 − γ
· ds + e−ρ(t^1 −t)^ · V ∗(t 1 , Wt 1 )]
⇒ e−ρt^ ·V ∗(t, Wt ) = max π,c
Et [
∫ (^) t 1
t
e−ρs^ · c s^1 −γ 1 − γ
·ds +e−ρt^1 ·V ∗(t 1 , Wt 1 )]
Find optimal π∗ t , c t∗ by taking partial derivatives of Φ(t, Wt ; πt , ct ) with respect to πt and ct , and equate to 0 (first-order conditions for Φ). Partial derivative of Φ with respect to πt :
(μ − r ) ·
∂Wt
∂W (^) t^2
· πt · σ^2 · Wt = 0
⇒ π t∗ =
∗ ∂Wt ·^ (μ^ −^ r^ ) ∂^2 V ∗ ∂W (^) t^2 ·^ σ
(^2) · Wt
Partial derivative of Φ with respect to ct :
∂Wt
⇒ c t∗ = (
∂Wt
− 1 γ
Now substitute π t∗ and c t∗ in Φ(t, Wt ; πt , ct ) and equate to ρV ∗(t, Wt ), which gets us the Optimal Value Function PDE:
∂V ∗ ∂t
(μ − r )^2 2 σ^2
∗ ∂Wt )
2 ∂^2 V ∗ ∂W (^) t^2
∂Wt
· r · Wt +
γ 1 − γ
∂Wt
γ− 1 γ (^) = ρV ∗
The boundary condition is:
V ∗(T , WT ) = γ^ ·
W (^) T^1 −γ 1 − γ
The second-order conditions for Φ are satisfied under the assumptions c t∗ > 0 , Wt > 0 , ∂
(^2) V ∗ ∂W (^) t^2 <^ 0 for all 0^ ≤^ t^ <^ T^ (we will later show that these are all satisfied in the solution we derive), and for concave U(·), i.e., γ > 0
Substituting the guess solution in the PDE, we get the simple ODE:
f ′(t) = ν · f (t) − 1
where
ν =
ρ − (1 − γ) · ( (μ−r^ )
2 2 σ^2 γ +^ r^ ) γ with boundary condition f (T ) = . The solution to this ODE is:
f (t) =
{ (^) 1+(ν−1)·e−ν(T −t) ν for^ ν^6 = 0 T − t + for ν = 0
Putting it all together (substituting the solution for f (t)), we get:
π∗(t, Wt ) =
μ − r σ^2 γ
c∗(t, Wt ) =
Wt f (t)
{ (^) ν·W t 1+(ν−1)·e−ν(T^ −t)^ for^ ν^6 = 0 Wt T −t+ for^ ν^ = 0
V ∗(t, Wt ) =
(1+(ν−1)·e−ν(T^ −t))γ νγ^ ·^
W (^) t^1 −γ 1 −γ for^ ν^6 = 0 (T −t+)γ^ ·W (^) t^1 −γ 1 −γ for^ ν^ = 0
f (t) > 0 for all 0 ≤ t < T (for all ν) ensures Wt , c t∗ > 0 , ∂
(^2) V ∗ ∂W (^) t^2 <^ 0. This ensures the constraints Wt > 0 and ct ≥ 0 are satisfied and the second-order conditions for Φ are also satisfied. The HJB Formulation was key and this solution approach provides a template for similar continuous-time stochastic control problems.
Continuous-States/Actions, Discrete-Time, Finite-Horizon MDP All states at time T are terminal states State st ∈ St is the wealth Wt , Action at ∈ At is risky investment xt Deterministic policy at time t denoted as πt , so πt (Wt ) = xt Optimal deterministic policy at time t denoted as π∗ t , so π∗ t (Wt ) = x t∗ Single-time-step return of risky asset from t to t + 1 is Yt ∼ N (μ, σ^2 )
Wt+1 = xt · (1 + Yt ) + (Wt − xt ) · (1 + r ) = xt · (Yt − r ) + Wt · (1 + r )
MDP Reward is 0 for all t = 0, 1 ,... , T − 1 MDP Reward at time T : −e
−aWT a MDP discount factor γ = 1
Denote Value Function at time t for policy π = (π 0 , π 1 ,... , πT − 1 ) as:
V (^) tπ (Wt ) = Eπ[
−e−aWT a
|(t, Wt )]
Denote Optimal Value Function at time t as:
V (^) t∗ (Wt ) = max π V (^) tπ (Wt ) = max π {Eπ[
−e−aWT a
|(t, Wt )]}
Bellman Optimality Equation is: V (^) t∗ (Wt ) = max xt
{EYt ∼N (μ,σ (^2) )[V (^) t∗+1(Wt+1)]}
V (^) T∗ − 1 (WT − 1 ) = max xT − 1
{EYT − 1 ∼N (μ,σ (^2) )[
−e−aWT a
Make an educated guess for the functional form of the V (^) t∗ (Wt ):
V (^) t∗ (Wt ) = −bt · e−ct^ ·Wt where bt , ct are independent of the wealth Wt