The problem:
I want to assess the first passage time distribution via Monte Carlo Simulation, where the first passage time is defined as:
$$\tau=\inf\left\{t: X_t > l\right\}$$
where $l$ is the barrier Suppose further that I know how to simulate $X_t$.
This is what I did:
Decide a time step and the horizon. Suppose horizon is 1 and time step is 1/250. I have 250 steps.
Simulate for example 10000 path $X_t$ starting at $x_0$
I have now a matrix of 10000 sample path.
For each sample path I keep track of the time where my simulated $X$ first hits the barrier. This is one realization of my random variable $\tau$
My question is:
If inside the path $X_t$ never hits the barrier $l$ what should the realization of $\tau$ be for that sample path?
Should I completely discard the information for these sample paths?