We cannot simulate from \(P_{\theta_0}\) because we don’t know \(\theta_0\). The parametric bootstrap uses \(P_{\hat\theta}\) as a stand-in:
The percentile interval runs from the 2.5th to the 97.5th percentile of the bootstrap estimates.
A confidence interval procedure turns a dataset into an interval \([L(X), U(X)]\).
It is a 95% confidence interval procedure if, for every possible value of \(\theta_0\), \[ P\big(L(X)\le\theta_0\le U(X)\big) = 0.95 \qquad \text{when} \qquad X\sim P_{\theta_0}. \]
We want to work backward from an observed estimate to possible values of the target. Our strategy is roughly:
Taking percentiles of the simulated estimates sometimes works, but only in particular situations.
Our estimated sampling distribution does not match the true sampling distribution.
Our interval construction does not correctly account for the relationship between the estimator and the target.
Our model: \(X_i \sim \operatorname{Normal}(\mu, 2^2)\), \(i = 1,\ldots,n\).
True data-generating process: \(X_i \sim \operatorname{Normal}(\mu, 5^2)\), \(i = 1,\ldots,n\).
Note that our model is incorrect about the variance.
We want to estimate \(\mu\).
To keep it simple, we will use a simple estimator: \[ \hat\mu = \frac{1}{n}\sum_{i=1}^n X_i. \]
\(X_1, \ldots, X_5 = (10.9,\ 17.6,\ 7.3,\ 13.8,\ 13.6)\)
\(\hat\mu = (10.9 + 17.6 + 7.3 + 13.8 + 13.6)/5 = 12.64\)
(Here the true \(\mu = 10\).)
Simulate from our model with \(\hat\mu\) plugged in: \(\operatorname{Normal}(12.64, 2^2)\). Gray: original data. Black: bootstrap replicate.
\(X^{*1}_1, \ldots, X^{*1}_5 = (13.5,\ 11.4,\ 9.2,\ 15.7,\ 14.4)\)
\(\hat\mu^{*1} = 12.84\)
\(X^{*2}_1, \ldots, X^{*2}_5 = (9.8,\ 9.9,\ 12.0,\ 9.8,\ 15.4)\)
\(\hat\mu^{*2} = 11.38\)
Notice that the bootstrap data are less spread out than the original data.
Model: \[ X_i \sim \operatorname{Uniform}[0, \theta], \qquad i = 1,\ldots,n. \]
We want to estimate \(\theta\).
We have seen complicated ways to do this, but again, to keep it simple, we will just use \[ \hat\theta = \max(X_1,\ldots,X_n). \]
\(X_1, X_2, \ldots, X_5 = (1.6,\ 5.2,\ 1.7,\ 8.3,\ 0.7)\)
\(\hat\theta = \max(1.6,\ 5.2,\ 1.7,\ 8.3,\ 0.7) = 8.3\)
(Here the true \(\theta = 10\).)
Simulate from \(\operatorname{Uniform}[0, \hat\theta] = \operatorname{Uniform}[0, 8.3]\). Gray: original data. Black: bootstrap replicate.
\(X^{*1}_1, \ldots, X^{*1}_5 = (5.9,\ 3.1,\ 7.7,\ 5.8,\ 0.5)\)
\(\hat\theta^{*1} = \max(5.9,\ 3.1,\ 7.7,\ 5.8,\ 0.5) = 7.7\)
\(X^{*2}_1, \ldots, X^{*2}_5 = (5.8,\ 1.8,\ 7.8,\ 5.0,\ 6.4)\)
\(\hat\theta^{*2} = \max(5.8,\ 1.8,\ 7.8,\ 5.0,\ 6.4) = 7.8\)
Could we use simulation to learn how our estimate relates to the target, and then work backward?
Let \(\theta_0\) denote the true value of \(\theta\). Simulate many datasets of size \(n=5\) from \(\operatorname{Uniform}[0,\theta_0]\) and compute their maxima.
This is just to show what we are aiming for; in practice we cannot do this.
For each simulated dataset \(X^{(m)}\sim P_{\theta_0}\), record \[ D^{(m)}=\hat\theta(X^{(m)})-\theta_0. \]
Let \(a_{\theta_0}\) and \(b_{\theta_0}\) be the 2.5th and 97.5th percentiles of the difference distribution.
Then \[ P_{\theta_0}\left( a_{\theta_0}\le\hat\theta(X)-\theta_0\le b_{\theta_0} \right)=0.95. \]
Simulation lets us estimate these quantiles.
For observed data \(x\), keep candidate values \(t\) satisfying \[ a_{\theta_0}\le\hat\theta(x)-t\le b_{\theta_0}. \]
Solving for \(t\) gives \[ c_{\theta_0}^{\mathrm{diff}}(x) = \left[\hat\theta(x)-b_{\theta_0},\; \hat\theta(x)-a_{\theta_0}\right]. \]
For our data, \(\hat\theta(x) = 8.3\), \(a_{\theta_0} = -5.22\), and \(b_{\theta_0} = -0.05\): \[ c_{\theta_0}^{\mathrm{diff}}(x) = \left[8.3 + 0.05,\; 8.3 + 5.22\right] = \left[8.35,\; 13.52\right]. \]
The true \(\theta_0\) belongs to this interval exactly when the estimation error lies between \(a_{\theta_0}\) and \(b_{\theta_0}\).
Therefore, with these oracle bounds, coverage at \(\theta_0\) is 95%.
Use the same simulated datasets, but record \[ Q^{(m)}=\frac{\hat\theta(X^{(m)})}{\theta_0}. \]
Let \(a_{\theta_0}^{\mathrm{ratio}}\) and \(b_{\theta_0}^{\mathrm{ratio}}\) be the 2.5th and 97.5th percentiles of the ratio distribution.
Then \[ P_{\theta_0}\left( a_{\theta_0}^{\mathrm{ratio}}\le\frac{\hat\theta(X)}{\theta_0}\le b_{\theta_0}^{\mathrm{ratio}} \right)=0.95. \]
For observed data \(x\), keep candidate values \(t\) satisfying \[ a_{\theta_0}^{\mathrm{ratio}}\le\frac{\hat\theta(x)}{t}\le b_{\theta_0}^{\mathrm{ratio}}. \]
Solving for \(t\) gives \[ c_{\theta_0}^{\mathrm{ratio}}(x) = \left[\frac{\hat\theta(x)}{b_{\theta_0}^{\mathrm{ratio}}},\; \frac{\hat\theta(x)}{a_{\theta_0}^{\mathrm{ratio}}}\right]. \]
For our data, \(\hat\theta(x) = 8.3\), \(a_{\theta_0}^{\mathrm{ratio}} = 0.478\), and \(b_{\theta_0}^{\mathrm{ratio}} = 0.995\): \[ c_{\theta_0}^{\mathrm{ratio}}(x) = \left[\frac{8.3}{0.995},\; \frac{8.3}{0.478}\right] = \left[8.34,\; 17.36\right]. \]
Again, the true \(\theta_0\) belongs to the interval exactly when the ratio lies between its two quantiles.
With these oracle bounds, coverage at \(\theta_0\) is also 95%.
For the observed maximum \(\hat\theta(x)=8.3\):
Both procedures have 95% coverage at \(\theta_0=10\), even though they give different intervals.
We learned each relationship’s distribution at the actual data-generating parameter, then inverted its bounds.
The problem is that we do not know that parameter.
Let \(r\) describe how an estimate relates to its target, for example through their difference or ratio.
We want the distribution of \[ R=r(\hat\theta(X),\theta), \qquad X\sim P_\theta. \]
Instead, the parametric bootstrap simulates \[ X^*\sim P_{\hat\theta(x)} \] and records \[ R^*=r(\hat\theta(X^*),\hat\theta(x)). \]
We can replace the relationship distribution at the true parameter with the one at the fitted parameter.
How much does this substitution change the distribution?
For the uniform maximum, consider \[ r(\hat\theta(X),\theta)=\hat\theta(X)-\theta. \]
Simulate datasets of the same size at \(\theta=5,10,20\). For each dataset, record its maximum minus its generating upper bound.
The difference distribution changes with \(\theta\).
Therefore, simulating at \(\hat\theta(x)\) instead of \(\theta\) changes the distribution we use to choose our bounds.
Now record the maximum divided by its generating upper bound: \[ r(\hat\theta(X),\theta)=\frac{\hat\theta(X)}{\theta}. \]
The simulated ratio distributions overlap.
Write \(U_i=X_i/\theta\).
The \(U_i\) are independent \(\operatorname{Uniform}[0,1]\) random variables, and \[ \frac{\hat\theta(X)}{\theta} = \max(U_1,\ldots,U_n). \]
Its distribution is the same for every \(\theta>0\).
Consequently, using \(\hat\theta(x)\) in place of \(\theta\) does not change the ratio distribution.
A quantity whose distribution does not depend on unknown parameters is called a pivotal quantity.
Let \(X \sim P_\theta\) denote the random data and let \(\hat\theta(X)\) be our estimator.
Suppose \(r\) is a function of two variables that describes how the estimate relates to the target (e.g. difference, ratio).
Suppose further that the random quantity \[ R=r(\hat\theta(X),\theta) \] is pivotal, that is, it has the same distribution for every \(\theta\).
The results described below go through approximately for approximately pivotal quantities.
The true parameter \(\theta\) is in the confidence set exactly when \(a \le r(\hat \theta(X), \theta)\le b\).
We chose \(a\) and \(b\) to contain 95% of the distribution of \[ r(\hat\theta(X^*),\hat\theta(x)), \qquad X^*\sim P_{\hat\theta(x)}. \]
That is, we pretended the true parameter was \(\hat\theta(x)\).
If we assume that the distribution of this relationship does not depend on the parameter, that is, we assume that \[ \underbrace{r(\hat\theta(X),\theta)}_{X\sim P_\theta} \ \overset{d}{=}\ \underbrace{r(\hat\theta(X^*),\hat\theta(x))}_{X^*\sim P_{\hat\theta(x)}}. \]
Then \[ P_\theta\big(\theta\in c(X)\big) = P_{X\sim P_\theta} \left(a \le r(\hat \theta(X), \theta)\le b\right) = P_{X^*\sim P_{\hat\theta(x)}} \left(a \le r(\hat \theta(X^*), \hat \theta(x))\le b\right) =0.95. \]
We still want to estimate the relationship distribution at the true parameter using the one at the fitted parameter.
An exact pivot makes those distributions identical.
Otherwise, we look for a relationship whose distribution changes little over the parameter values relevant to our problem.
This motivates trying to remove changes in scale by standardizing the estimation error.
Use the relationship function \[ r(X,t)=\frac{\hat\theta(X)-t}{\widehat{\mathrm{se}}(X)}, \] where \(\widehat{\mathrm{se}}(X)\) estimates the sampling standard deviation of our estimator.
Assuming \(\widehat{\mathrm{se}}(x)>0\), solving gives \[ \left[ \hat\theta(x)-b\widehat{\mathrm{se}}(x),\; \hat\theta(x)-a\widehat{\mathrm{se}}(x) \right]. \]