Stochastic Calculus Review

Content Review

Problem Set 5

π‘Œ(𝑑)=π‘’π‘‘π‘Š(𝑑)

Find the differential

π‘‘π‘Œ(𝑑)

Recognize that this is some function that looks like 𝑓(π‘Ž,𝑏), like

𝑓(π‘Ž,𝑏)=π‘’π‘Žπ‘

where π‘Ž is a deterministic component and 𝑏 is a stochastic component.

Then solve your partials

π‘“π‘Ž=π‘π‘’π‘Žπ‘ 𝑓𝑏=π‘Žπ‘’π‘Žπ‘

𝑓𝑏𝑏=π‘Ž2π‘’π‘Žπ‘

then using the Ito formula, this is

π‘‘π‘Œ(𝑑)=π‘Š(𝑑)π‘’π‘‘π‘Š(𝑑)𝑑𝑑+π‘‘π‘’π‘‘π‘Š(𝑑)π‘‘π‘Š(𝑑)+12𝑑2π‘’π‘‘π‘Š(𝑑)𝑑𝑑

Question on why we’re able to get away with this? 𝔼[π‘’πœŽπ‘Š(𝑑)]=𝑒12𝜎2𝑑

This is because of a result, confirmed in the result, that

π‘‹βˆΌπ‘(π‘Ž,𝑏2) implies 𝔼[𝑒𝑒𝑋]

Which is the moment generating function with respect to the dummy variable 𝑒, is

=π‘’π‘Žπ‘’+12𝑏2𝑒2

We’re using this off-label. So if we plug it into this we can do this. What if 𝜎 is adapted to time? Can we use this result? Not necessarily. Being an adapted process means that you’re measurable with respect to filtration at that time. But if Δ𝑑 is a random process, then this is a totally different problem.

𝑑𝑆(𝑑)𝑆(𝑑)=πœ‡π‘‘π‘‘+πœŽπ‘‘π‘Š(𝑑)

Can you take the integral from both sides? You can, but it causes some issues.

∫0𝑑𝑑𝑆(𝑒)𝑆(𝑒)=𝛼𝑑+πœŽπ‘Š(𝑑)

Doesn’t really give you a closed form approximation.

From the derivation of Black Scholes

Expectation of the discount factor, π‘†π‘‘βˆ’πΎ, then you have an indicator function.

Indicator is transformed, where does that came from

𝔼[π‘’βˆ’π‘Ÿπ‘‡(𝑆(𝑇)βˆ’πΎ)𝕀{π‘‘βˆ—<π‘Š(𝑇)}]

We can substitute

What is random? π‘Š(𝑑). What it’s distribution? normal over real line.

Then take the infinite integral.

Question from sample midterm: 𝐼(𝑑)=∫0𝑑Δ(𝑒)π‘‘π‘Š(𝑒)

Find 𝔼[𝐼4(𝑑)]

And Ξ”(𝑒) is 3𝑒

There are a couple ways to do this! There’s the way with the hint, and other ways. Any time you’re doing an expected value of a non-well-defined process, like an Ito process raised to a power, look at the Ito decomposition instead of the process as a whole.

𝑑(𝐼4(𝑑))=4𝐼3(𝑑)𝑑𝐼(𝑑)+6𝐼2(𝑑)(𝑑𝐼(𝑑))2

And then

𝑑𝐼(𝑑)=3π‘‘π‘‘π‘Š(𝑑)

based on what we already know…

(𝑑𝐼(𝑑))2=9𝑑2𝑑𝑑 based on what we know

𝐼4(𝑑)=∫0𝑑4𝐼3(𝑒)Ξ”(𝑒)π‘‘π‘Š(𝑒)+∫0𝑑6𝐼2(𝑒)(9𝑒2)𝑑𝑒

When I take the expectation, I can see that an Ito integral with respect to a martingale is a martingale, so the first term is gone.

𝔼[𝐼4(𝑑)]=∫0𝑑54𝑒2𝔼[𝐼2(𝑒)]𝑑𝑒

Could you be more clever about this?

This is an Ito integral of a deterministic integrand, so it has to be normally distributed. The fourth moment of any normal variable is three times the variance.

This would give you the answer. But if it was like in the homework problem where you want to do 𝐼6, you would have to do it in the Ito decomposition way.

An Ito decomposition results in A nonrandom initial constant, a Riemann integral 𝑑𝑒, and an Ito integral π‘‘π‘Š(𝑑).

Understand that this formula is

Generalized geometric Brownian motion.

If you recognize that if you have a process that can be rewritten as e^Ito process, do we need to do our partials? If you can reliably get the correct answer without doing that, you can, but it’s better to do the partials.

Itos’ formula:

𝑓(𝑑,𝑋(𝑑))=𝑓(0,𝑋(0))+∫0π‘‘π‘“π‘Ž(𝑒,𝑋(𝑒))𝑑𝑒+∫0𝑑𝑓𝑏(𝑒,𝑋(𝑒))𝑑𝑋(𝑒)+12∫0𝑑𝑓𝑏𝑏(𝑒,𝑋(𝑒))(𝑑𝑋(𝑒))2

𝑋(𝑑) is an Ito process

𝑒 is your index

Brownian motion is definitely an Ito process. In order to be an Ito process, you need to be able to be expressed as the nonrandom constant + Riemann + stochastic.

Quadratic variation of a process

𝑋(𝑑)=3βˆ’βˆ«0π‘‘π‘Š(𝑒)𝑑𝑒+∫0π‘‘π‘’π‘‘π‘Š(𝑒)

Quickest way to find this is recognizing that this is an Ito process.

Quadratic variation of an Ito process is

∫0𝑑Δ2(𝑒)𝑑𝑒 REMEMBER THIS

How do we get the expected value of an Ito integral squared? The Ito isometry.

If I have the expression

If I tell you 𝑒=2 and 𝑑=4,

∫0π‘‘π‘Š(𝑑)𝑒2π‘‘π‘Š(𝑒)

THAT IS NOT AN ADAPTED PROCESS.

Week 9

General Probability Theory

Ξ© is the sample space of all possible outcomes πœ”.

A 𝜎-algebra is the set of all sets generated from a starting set of outcomes, their complements, and the unions of all complements. Conceptually, it represents an addressable subset in a potentially uncountably infinite sample space. The 𝜎-algebra is represented by β„±οΈ€.

The probability measure β„™ distributes values of probability on every set in the 𝜎-algebra β„±οΈ€, which must add up to 1 across Ξ©.

The Borel set is the 𝜎-algebra generated by the set of all closed intervals on the real number line. Conceptually, it represents an addressable subset of real numbers.

A random variable is a mapping from outcomes πœ” to a Borel subset. This could be a single number or an interval.

The distribution measure of a random variable 𝑋 is the probability measure that 𝑋 is in each Borel subset. This is computed by finding the preimage of a Borel subset, which is an event in the sample space, and finding the probability measure of that event.

Two different random variables could have the same distribution measure, and the same random variable could have two different distribution measures under two different probability measures.

The expectation of a random variable is the average result of the random variable. This can be computed in many ways. For a discrete random variable, you can directly compute the result of each outcome mapped through the random variable, multiply them by the probability of the outcome, and sum them. For a continuous random variable, you must use an integral.

𝔼[𝑋]=βˆ«Ξ©π‘‹(πœ”)𝑑ℙ(πœ”)

(Definition 1.3.3)

Expectations have the property of linearity.

Information and Conditioning

We can model the information we have regarding an uncertain outcome with 𝜎-algebras.

If we know which set of outcomes that the outcome must belong to based on the current information, we can generate a 𝜎-algebra from that set of outcomes.

A filtration is a sequence of such 𝜎-algebras that represent the information available over time until time 𝑑.

Filtrations always increase in information over time.

The filtration at time 𝑑 represents all the information at time 𝑑, and it is used for conditioning. We can say that a random variable is measurable with respect to a filtration if the information in the filtration can be used to determine the value of the random variable.

For any two sets, independence is generally defined by

β„™(𝐴∩𝐡)=β„™(𝐴)β‹…β„™(𝐡)

Two 𝜎-algebras are independent if this is true for all sets in each 𝜎-algebra.

Two random variables are independent if the 𝜎-algebras generated from them are independent.

Any functions on independent random variables will also result in independent random variables.

Not gonna bother with joint densities and crap.

A conditional expectation allows us to use information from a filtration to estimate the expectation of a random variable without it being completely measurable. In shorthand, we might use a random variable as a condition to indicate that the filtration is the 𝜎-algebra generated by the random variable.

Conditional expectations have the following properties (Theorem 2.3.2)

  • Linearity
  • Taking out what is known: if a random variable 𝑋 is measurable with respect to the condition, it can be taken out. 𝔼[π‘‹π‘Œ|𝒒︀]=𝑋𝔼[π‘Œ|𝒒︀]
  • Iterated conditioning: if we have a 𝜎-algebra 𝐻 with less information, we can subsume the 𝜎-algebra 𝐺 with more information into it. 𝔼[𝔼[𝑋|𝒒︀]|β„‹οΈ€]=𝔼[𝑋|β„‹οΈ€]
  • Independence: if a random variable 𝑋 is independent of the condition, the condition is irrelevant. 𝔼[𝑋|𝒒︀]=𝔼[𝑋]

A stochastic process is a collection of random variables indexed at time 𝑑.

An adapted stochastic process is a stochastic process where each random variable is measurable by the filtration at time 𝑑. Conceptually, it is a process which only depends on information available at each time 𝑑.

A martingale is an adapted stochastic process which is expected to remain the same value at all times. Formally, (Definition 2.3.5)

𝔼[𝑀(𝑑)|β„±οΈ€(𝑠)]=𝑀(𝑠) for all 0≀𝑠≀𝑑≀𝑇

Submartingales and supermartingales observe this property for β‰₯ and ≀, respectively.

A Markov is an adapted stochastic process where we can determine the expectation of the process using only the previous value. In other words, all of the information (filtration) up to time 𝑠 is encoded in the value. Formally (2.3.6)

𝔼[𝑓(𝑋(𝑑))|β„±οΈ€(𝑠)]=𝑔(𝑋(𝑠))

Brownian Motion

The symmetric random walk is an adapted stochastic process which moves up and down by 1 by the flip of a coin at each time step. It has the property that each of its increments are independent. The expectation of the increment is 0, and its variance is Δ𝑑. The walk has the martingale property, which can be shown by splitting the current value into an increment, which is independent, and the previous value, which is measurable.

The scaled symmetric random walk approximates the Brownian motion.

π‘Š(𝑛)(𝑑)=1𝑛𝑀𝑛𝑑

as 𝑛 approaches ∞.

I’m going to skip a lot of stuff relating to random walks, assuming that it won’t be relevant.

Brownian motion π‘Š(𝑑) has the following properties:

  • Independent increments
  • Normally distributed increments
  • Expectation of increments is 0
  • Variance of increments is Δ𝑑
  • Martingale

The first-order variation of a function is the definite integral from time 0 to 𝑇 of the absolute value of its derivative. It can also be computed by partitioning time 𝑇 into partition Ξ . As βˆ₯Ξ βˆ₯ (the norm of Ξ , aka size of its largest increment) approaches 0, we’re interested in summing the absolute value of each of these increments. Essentially we’re measuring how much change there is in the function.

The quadratic variation is computed in the same way, but with the increments being squared. Formally (3.4.1)

[𝑓,𝑓](𝑇)=limβˆ₯Ξ βˆ₯β†’0βˆ‘π‘—=0π‘›βˆ’1[𝑓(𝑑𝑗+1)βˆ’π‘“(𝑑𝑗)]2

Typically, quadratic variation is 0 for any differentiable function. The quadratic variation of Brownian motion [π‘Š,π‘Š](𝑇) is 𝑇. Conceptually, we can understand this as Brownian motion accumulating quadratic variation at rate one per unit time.

The differential of time 𝑑𝑑 multiplied by any other differential is 0. The differential of Brownian motion π‘‘π‘Š(𝑑) multiplied by itself is 𝑑𝑑. This relates to quadratic variation because

𝑑[π‘Š,π‘Š](𝑑)=π‘‘π‘Š(𝑑)π‘‘π‘Š(𝑑)=𝑑𝑑

Geometric Brownian motion is an application of Brownian motion to stock prices. The process is described by

𝑆(𝑑)=𝑆(0)exp{πœŽπ‘Š(𝑑)+(π›Όβˆ’12𝜎2)𝑑}

And log returns in this process are described by

log𝑆(𝑑𝑗+1)𝑆(𝑑𝑗)=𝜎(π‘Š(𝑑𝑗+1)βˆ’π‘Š(𝑑𝑗))+(π›Όβˆ’12𝜎2)(𝑑𝑗+1βˆ’π‘‘π‘—)

Skipping first passage time distribution, reflection principle, maximum to date

Stochastic Calculus

The purpose of stochastic calculus is to integrate an adapted stochastic process on a Brownian motion.

∫0𝑇Δ(𝑑)π‘‘π‘Š(𝑑) This Ξ” describes our position in an asset at time 𝑑, which is dependent on the change in price. This integral is the value of the portfolio at time 𝑇. The change in price is a stochastic process based on Brownian motion, which means that we cannot integrate with a Riemann/Lebesgue integral.

In order to construct the ItΓ΄ integral, we add up increments of π‘Š(𝑑) and multiply them by the stock position Ξ”(𝑑) at that time. The discrete analogy is that of π‘Š(𝑑) as stock price and the time intervals being trading dates. The value of the portfolio is therefore the sum of the product of: the change in stock price each day, and the position held in stock on that day. Taking this discrete analogy continuously creates the integral.

The ItΓ΄ integral is described as follows:

𝐼(𝑑)=∫0𝑑Δ(𝑒)π‘‘π‘Š(𝑒)

The ItΓ΄ integral is a martingale. This is proved here.

Final Methods