UtilityFunctionExample

Hedge By Bitcoin | Memberswill go by tor | RecentChanges | Join |

For any stochastic process, the utility function can be found by brute force numerical calculation. However, in some cases it is easier.


For discrete time and continuous flow case, if the only outflow distribution follows exponential distribution, then a simple form is available:

Pr(X<−m)=pe −amPr\left(X &lt;-m \right)=p e^{-a m}

The solution of u(m)=∫u(m+X)dF(X)u(m)=\int {u(m+X) d F(X)} and u(m)=∫ m+X>0u(m+X)dF(X)u(m)=\int_{m+X &gt;0} {u(m+X) d F(X)} is of the form 1−Ce −γm1-C e^{-\gamma m} for some CC and γ\gamma.

By u(m)=∫u(m+X)dF(X)u(m)=\int {u(m+X) d F(X)} and denote MM as the moment generating function of positive flow, it follows

1=∫e −γXdF(X)=(1−p)M(−γ)+paa−γ1=\int {e^{-\gamma X} d F(X)}=(1-p)M(-\gamma)+\frac{p a}{a-\gamma}

Note that this equation has the non-zero solution when the expectation of flow is greater than zero.

By u(m)=∫ m+X>0u(m+X)dF(X)u(m)=\int_{m+X &gt;0} {u(m+X) d F(X)} , it follows

0=∫ m+X≤0u(m+X)dF(X)=∫ m+X≤0(1−Ce −γ(m+X))dF(X)=pe −am−Cpaa−γe −am0=\int_{m+X \le 0} {u(m+X) d F(X)}=\int_{m+X \le 0} {\left(1- C e^{-\gamma (m+X)} \right) d F(X)}=p e^{-a m}- \frac{C p a}{a-\gamma} e^{-a m}

Therefore C=1−γaC=1-\frac{\gamma}{a}

For the time preference:

∫ m+X>0u(m+B+X)dF(X)=∫ −m ∞(1−Ce −γ(m+B+X))dF(X)\int_{m+X&gt;0} {u\left(m+B+X \right)d F(X)}=\int_{-m}^{\infinity} {\left(1-C e^{-\gamma \left(m+B+X \right)} \right) d F(X)}

=Pr(X>−m)−Ce −γ(m+B)∫ −m ∞e −γXdF(X)=Pr\left(X&gt;-m \right)-C e^{-\gamma (m+B)} \int_{-m}^{\infinity} {e^{-\gamma X} d F(X)}

=1−pe −am−Ce −γ(m+B)((1−p)M(−γ)+p∫ −m 0e −γXae aXdX)=1-p e^{-a m}-C e^{-\gamma (m+B)} \left( \left(1-p \right)M(-\gamma) + p \int_{-m}^0 {e^{-\gamma X} a e^{a X} d X} \right)

=1−pe −am−Ce −γ(m+B)((1−p)M(−γ)+paa−γ(1−e −(a−γ)m))=1-p e^{-a m}-C e^{-\gamma (m+B)} \left( \left(1-p \right)M(-\gamma) + \frac{p a}{a-\gamma} \left(1-e^{-(a-\gamma)m} \right) \right)

=1−pe −am−Ce −γ(m+B)(1−paa−γe −(a−γ)m)=1-p e^{-a m}-C e^{-\gamma (m+B)} \left(1-\frac{p a}{a-\gamma} e^{-(a-\gamma)m} \right)

=1−Ce −γ(m+B)−pe −am(1−e −γB)=1-C e^{-\gamma (m+B)}- p e^{-a m} \left(1-e^{-\gamma B} \right)

Therefore the relationship between AA and BB is

1−Ce −γm=1−Ce −γ(m−A+B)−pe −a(m−A)(1−e −γB)1-C e^{-\gamma m}=1-C e^{-\gamma (m-A+B)}- p e^{-a (m-A)} \left(1-e^{-\gamma B} \right)

Rearrange then

e −γB=e −γA−pCe −(a−γ)(m−A)1−pCe −(a−γ)(m−A)e^{-\gamma B}=\frac{e^{-\gamma A}-\frac{p}{C} e^{-(a-\gamma)(m-A)}}{1-\frac{p}{C} e^{-(a-\gamma)(m-A)}}

For tiny AA in comparison with mm, then

lim A→0BA=11−pCe −(a−γ)m\lim_{A \rightarrow 0} \frac{B}{A}=\frac{1}{1-\frac{p}{C} e^{-(a-\gamma) m}}

Note that BA\frac{B}{A} approaches 1 as mm approaches infinite.


For continuous time and continuous flow case, if it is a Poisson process with a constant flow and a random flow whose only outflow is an exponential distribution:

u(m,t)=(1−λdt)u(m−μdt,t+dt)+λdt∫ −(m−μdt) ∞u(m−μdt+X,t+dt)dF(X)u(m,t)=\left(1-\lambda d t \right) u(m - \mu d t, t + d t) + \lambda d t \int_{-(m- \mu d t)}^{\infinity} {u\left(m-\mu d t +X, t + d t \right) d F(X)}

=(1−λdt)(u(m,t)−∂u∂mμdt+∂u∂tdt)+λdt∫ −(m−μdt) ∞u(m−μdt+X,t+dt)dF(X)=\left(1-\lambda d t \right) \left( u(m ,t) -\frac{\partial u}{\partial m} \mu d t + \frac{\partial u}{\partial t} d t \right) + \lambda d t \int_{-(m- \mu d t)}^{\infinity} {u\left(m-\mu d t +X, t + d t \right) d F(X)}

0=−λu(m,t)−∂u∂mμ+∂u∂t+λ∫ −(m−μdt) ∞u(m−μdt+X,t+dt)dF(X)0=-\lambda u(m,t) -\frac{\partial u}{\partial m} \mu + \frac{\partial u}{\partial t}+ \lambda \int_{-(m- \mu d t)}^{\infinity} {u\left(m-\mu d t+X, t + d t \right) d F(X)}

Let dtd t approach zero

0=−λu(m,t)−∂u∂mμ+∂u∂t+λ∫ −m ∞u(m+X,t)dF(X)0=-\lambda u(m,t) -\frac{\partial u}{\partial m} \mu + \frac{\partial u}{\partial t}+ \lambda \int_{-m}^{\infinity} {u\left(m+X, t \right) d F(X)}

Again, for remote tt and uu is eventually irrelevant to tt, assuming the solution form u(m)=1−Ce −γmu(m)=1-C e^{-\gamma m}:

0=−λ(1−Ce −γm)−μCγe −γm+λ∫ −m ∞(1−Ce −γ(m+X))dF(X)0=-\lambda \left(1-C e^{-\gamma m} \right)- \mu C \gamma e^{-\gamma m} + \lambda \int_{-m}^{\infinity} {\left(1-C e^{-\gamma (m+X)} \right)d F(X)}

Therefore,

0=∫ −∞ −m(1−Ce −γ(m+X))dF(X)=pe −am−Cpae −γm∫ −∞ −me (a−γ)XdX0=\int_{-\infinity}^{-m} {\left(1-C e^{-\gamma (m+X)} \right)d F(X)}=p e^{-a m}-C p a e^{-\gamma m} \int_{-\infinity}^{-m} {e^{(a-\gamma)X} d X}

=(1−Caa−γ)pe −am=\left(1-\frac{C a}{a-\gamma} \right)p e^{-a m}

Therefore C=1−γaC=1-\frac{\gamma}{a}

For time preference, the lending formula is:

(1−λdt)u(m−A−μdt+B,t+dt)+λdt∫ −(m−A−μdt) ∞u(m−A−μdt+B+X,t+dt)dF(X)\left(1-\lambda d t \right) u(m-A-\mu d t +B, t+ d t)+\lambda d t \int_{-(m-A-\mu d t)}^{\infinity} {u(m-A-\mu d t+B+X,t+ d t) d F(X)}

Denote δdt=BA−1\delta d t=\frac{B}{A}-1 then it follows

(1−λdt)u(m−μdt+Aδdt,t+dt)+λdt∫ −(m−A−μdt) ∞u(m−μdt+Aδdt+X,t+dt)dF(X)\left(1-\lambda d t \right) u(m-\mu d t +A \delta d t, t+ d t)+\lambda d t \int_{-(m-A-\mu d t)}^{\infinity} {u(m-\mu d t+A \delta d t+X,t+ d t) d F(X)}

=(1−λdt)(u+∂u∂m(Aδ−μ)dt+∂u∂tdt)+λdt∫ −(m−A−μdt) ∞u(m−μdt+Aδdt+X,t+dt)dF(X)=\left(1-\lambda d t \right) \left(u+\frac{\partial u}{\partial m} (A \delta - \mu)d t + \frac{\partial u}{\partial t}d t\right)+\lambda d t \int_{-(m-A-\mu d t)}^{\infinity} {u(m-\mu d t+A \delta d t+X,t+ d t) d F(X)}

Therefore the equation about the time preference is:

u=(1−λdt)(u+∂u∂m(Aδ−μ)dt+∂u∂tdt)+λdt∫ −(m−A−μdt) ∞u(m−μdt+Aδdt+X,t+dt)dF(X)u=\left(1-\lambda d t \right) \left(u+\frac{\partial u}{\partial m} (A \delta - \mu)d t + \frac{\partial u}{\partial t}d t\right)+\lambda d t \int_{-(m-A-\mu d t)}^{\infinity} {u(m-\mu d t+A \delta d t+X,t+ d t) d F(X)}

With dtd t approaching zero, it is

0=−λu+∂u∂m(Aδ−μ)+∂u∂t+λ∫ −(m−A) ∞u(m+X,t)dF(X)0=-\lambda u +\frac{\partial u}{\partial m}(A \delta -\mu)+\frac{\partial u}{\partial t}+\lambda \int_{-(m-A)}^{\infinity} {u(m+X,t) d F(X)}

But by the previous equation for uu, then

0=CγδAe −γm−λ(pe −a(m−A)−pe −am−pe −γm(e −(a−γ)(m−A)−e −(a−γ)m))0=C \gamma \delta A e^{-\gamma m}-\lambda \left(p e^{-a (m-A)}-p e^{-a m}- p e^{-\gamma m} \left(e^{-(a-\gamma)(m-A)}-e^{-(a-\gamma)m} \right) \right)

Therefore

δ=pλCγA(e aA−e (a−γ)A)e −(a−γ)m\delta=\frac{p \lambda}{C \gamma A} \left(e^{a A}-e^{(a-\gamma)A} \right) e^{-(a-\gamma)m}

Also note the typical phenomenon that the wealthier a person is, the less time preference it is. When AA is small, it becomes:

δ=pλCe −(a−γ)m\delta=\frac{p \lambda}{C} e^{-(a-\gamma)m}

Note that BA\frac{B}{A} approaches 1 as mm approaches infinite.


The backward induction reasoning also suggests a dynamic of the survival probability (till some date) function, therefore a solution can be obtained numerically this way. It also distinguishes some unstable solution from the stable solution. For example, in the above Poisson process example, p=0 and C=1 is a solution which is u(m)=1, but then some disturbance in the process will cause the unstable solution slide down to the indicated stable solution, if any.