I was reading a paper recently that incorporated randomness in its confidence and credible intervals, and I was wondering if this is standard (and, if so, why it is a reasonable thing to do). To set notation, assume that our data is $x \in X$ and we are interested in creating intervals for a parameter $\theta \in \Theta$. I am used to confidence/credibility intervals being constructed by building a function:
$f_{x} : \Theta \rightarrow \{0,1\}$
and letting our interval be $I = \{ \theta \in \Theta \, : \, f_{x}(\theta) = 1\}$.
This is random in the sense that it depends on the data, but conditional on the data it is just an interval. This paper instead defines
$g_{x} : \Theta \rightarrow [0,1]$
and also a collection of iid uniform random variables $\{U_{\theta} \}_{\theta \in \Theta}$ on $[0,1]$. It defines the associated interval to be $I = \{ \theta \in \Theta \, : \, f_{x}(\theta) \geq U_{\theta} \}$. Note that this depends a great deal on auxillary randomness, beyond whatever comes from the data.
I am very curious as to why one would do this. I think that `relaxing' the notion of an interval from functions like $f_{x}$ to functions like $g_{x}$ makes some sense; it is some sort of weighted confidence interval. I don't know of any references for it (and would appreciate any pointers), but it seems quite natural. However, I can't think of any reason to add auxillary randomness.
Any pointers to the literature/reasons to do this would be appreciated!