Skip to content

Commit e8a8e2f

Browse files
committed
Fix formatting of mathematical expressions in markdown
1 parent 4f91155 commit e8a8e2f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/distributions/uncertainty-analysis.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ x^{*}_{b,1}, x^{*}_{b,2}, \ldots, x^{*}_{b,n} \sim \hat{F}(\hat{\theta}), \quad
2828
\hat{Q}^{*}_b = \hat{F}^{-1}(p \mid \hat{\theta}^{*}_b), \quad b = 1, 2, \ldots, B
2929
```
3030

31-
**Step 4.** The empirical distribution of $\lbrace\hat{Q}^{*}_1, \hat{Q}^{*}_2, \ldots, \hat{Q}^{*}_B\rbrace$ approximates the sampling distribution of the quantile estimator $\hat{Q}$.
31+
**Step 4.** The empirical distribution of $`\hat{Q}^{*}_1, \hat{Q}^{*}_2, \ldots, \hat{Q}^{*}_B`$ approximates the sampling distribution of the quantile estimator $\hat{Q}$.
3232

3333
From this bootstrap distribution, we can compute several useful summaries. The **bootstrap standard error** is the sample standard deviation of the bootstrap replicates:
3434

3535
```math
3636
\widehat{SE}_{boot} = \sqrt{\frac{1}{B-1}\sum_{b=1}^{B}\left(\hat{Q}^{*}_b - \bar{Q}^{*}\right)^2}
3737
```
3838

39-
where $\bar{Q}^{*} = \frac{1}{B}\sum_{b=1}^{B}\hat{Q}^{*}_b$ is the mean of the bootstrap replicates. The **bootstrap estimate of bias** is:
39+
where $`\bar{Q}^{*} = \frac{1}{B}\sum_{b=1}^{B}\hat{Q}^{*}_b`$ is the mean of the bootstrap replicates. The **bootstrap estimate of bias** is:
4040

4141
```math
4242
\widehat{bias} = \bar{Q}^{*} - \hat{Q}
@@ -258,7 +258,7 @@ The Percentile method [[1]](#1) is the simplest bootstrap confidence interval. I
258258
CI_{1-\alpha} = \left[\hat{Q}^{*}_{(\alpha/2)},\;\hat{Q}^{*}_{(1-\alpha/2)}\right]
259259
```
260260

261-
where $\hat{Q}^{*}_{(p)}$ denotes the $p$-th percentile of the bootstrap distribution $\lbrace\hat{Q}^{*}_1, \ldots, \hat{Q}^{*}_B\rbrace$. For a 90% confidence interval ($\alpha = 0.1$), this takes the 5th and 95th percentiles of the bootstrap replicates.
261+
where $`\hat{Q}^{*}_{(p)}`$ denotes the $p$-th percentile of the bootstrap distribution $`\lbrace\hat{Q}^{*}_1, \ldots, \hat{Q}^{*}_B\rbrace`$. For a 90% confidence interval ($\alpha = 0.1$), this takes the 5th and 95th percentiles of the bootstrap replicates.
262262

263263
The Percentile method is intuitive and easy to implement, but it does **not** correct for bias or skewness in the bootstrap distribution. It works well when the bootstrap distribution is approximately symmetric and the estimator is approximately unbiased. This is the default method used by the `Estimate()` method.
264264

@@ -369,7 +369,7 @@ The adjusted percentiles incorporate both bias correction and acceleration:
369369
\alpha_1 = \Phi\!\left(z_0 + \frac{z_0 + z_{\alpha/2}}{1 - \hat{a}(z_0 + z_{\alpha/2})}\right), \quad \alpha_2 = \Phi\!\left(z_0 + \frac{z_0 + z_{1-\alpha/2}}{1 - \hat{a}(z_0 + z_{1-\alpha/2})}\right)
370370
```
371371

372-
The confidence interval is then $CI_{1-\alpha} = [\hat{Q}^{*}_{(\alpha_1)}, \hat{Q}^{*}_{(\alpha_2)}]$.
372+
The confidence interval is then $`CI_{1-\alpha} = [\hat{Q}^{*}_{(\alpha_1)}, \hat{Q}^{*}_{(\alpha_2)}]`$.
373373

374374
When $\hat{a} = 0$, the BCa method reduces to the BC method. When both $z_0 = 0$ and $\hat{a} = 0$, it reduces to the Percentile method. The BCa method is the most accurate of the percentile-based methods, but it requires the original sample data and is computationally expensive due to the jackknife (which requires $n$ additional distribution fits).
375375

@@ -405,7 +405,7 @@ where $\tilde{Q} = \hat{Q}^{1/3}$ is the transformed original estimate. The conf
405405
CI_{1-\alpha} = \left[\left(\tilde{Q} + t^{*}_{(\alpha/2)}\cdot\widetilde{SE}\right)^3,\;\left(\tilde{Q} + t^{*}_{(1-\alpha/2)}\cdot\widetilde{SE}\right)^3\right]
406406
```
407407

408-
where $t^{*}_{(p)}$ is the $p$-th percentile of $\lbrace t^{*}_1, \ldots, t^{*}_B\rbrace$, and $\widetilde{SE}$ is the standard deviation of the transformed bootstrap replicates $\lbrace\tilde{Q}^{*}_1, \ldots, \tilde{Q}^{*}_B\rbrace$.
408+
where $`t^{*}_{(p)}`$ is the $p$-th percentile of $`\lbrace t^{*}_1, \ldots, t^{*}_B\rbrace`$, and $\widetilde{SE}$ is the standard deviation of the transformed bootstrap replicates $`\lbrace\tilde{Q}^{*}_1, \ldots, \tilde{Q}^{*}_B\rbrace`$.
409409

410410
The Bootstrap-t method is the most computationally expensive method because it requires a **double bootstrap**: each of the $B$ outer replications requires an inner bootstrap (300 replications by default) to estimate the standard error. However, it can provide the most accurate coverage probabilities for location parameters and is second-order accurate.
411411

0 commit comments

Comments
 (0)