I am wondering if an observation in a random sample is allowed to fall outside of the distribution.
What prompted this question is the example linked in this answer. The example is on page 13 in the pdf referenced in that answer. I will summarize my question/the example here, but see the reference if I have not explained well.
Say we have the uniform distribution on $[0,\theta],\ U[0,\theta]$ on the interval $[0,\theta]$. In the example, the likelihood function is written $$ \prod_{i=1}^n f(X_i \vert \theta) = \frac{1}{\theta^n}I(X_1,\dots,X_n \in [0,\theta]) = \frac{1}{\theta^n}I(\max (X_1,\dots,X_n) \leq \theta) $$
Where $I$ is the indicator function. The example notes that they write the likelihood function using an indicator function because:
"What the indicator above means is that the likelihood will be equal to $0$ if at least one of the factors is $0$ and this will happen if at least one observation $X_i$ will fall outside of the ’allowed’ interval $[0, \theta]$."
I don't see how an observation can fall outside the allowed interval.
I realize that the uniform distribution is technically defined everywhere, but has probability zero outside the given interval. Since all points outside the interval have probability zero, I don't see how a draw can be from outside the interval.
For easier access, I am linking the pdf with the example here as well, see the bottom of page 13