TLDR version:
first-hitting-time-in-years = log(K / S)^2 / (v * 0.6745)^2
That is an approximation of the median hitting time for GBM, the mean will be to the left of that. But median is, given the jump component of stock price innovations, probably close to the right number.
Here is an approximation of the first hitting time density and cumulative density:
Code:
gbmFPTD <- function(S,K,T,v)
{ a <- log(K/S) / v
dens <- (a / sqrt(2 * pi * T**3)) * exp(-a**2 / (2 * T))
return(dens)
}
gbmFPTCD <- function(S,K,T,v)
{ a <- log(K/S) / v
cdens <- 2 * pnorm(-a / sqrt(t))
return(cdens)
}
The expression above is approximately the pdf integrated out to .5 probability mass.
Edit: you can also easily incorporate first hitting time into CRR or other binomial pricers. And note that the cdf in the code block above is the familiar two times dual-delta without the discounting back to the present.
Last edited:
