Template:Estimate/doc
![]() | This is a documentation subpage for Template:Estimate. It may contain usage information, categories and other content that is not part of the original template page. |
Formats an estimate associated with a confidence interval (CI) or a credible interval (CrI, sometimes notated as BCI) in the typical format of most scientific articles. It is also a more detailed representation of the uncertainty of a measurement. For other types of estimates or ranges, use Template:val.
Includes a minimal format in which the level of confidence/credibility is omitted, but can be read using a tooltip. This brief format is sometimes useful for tables or to avoid repetition in prose where the confidence interval does not change. The minimal format can be used many times and is more readable, but some part of the text should explicitly state the level of confidence/credibility assumed, even when using the automatic minimum format (which assumes a typical level of 95%).
Usage
[edit]Wikitext | Output |
---|---|
{{Estimate}}
|
? |
{{Estimate|4.2|3.5|5.7}}
|
4.2 (95% CI, 3.5–5.7) |
{{Estimate|4.2|1.3|8.9|97.5}}
|
4.2 (97.5% CI, 1.3–8.9) |
{{Estimate|-1.9|-7.4|-0.2}}
|
−1.9 (95% CI, −7.4 to −0.2) |
{{Estimate|45|40|60|unit=%}}
|
45% (95% CI, 40–60%) |
{{Estimate|4.2|3.5|5.7|unit=kg}}
|
4.2 kg (95% CI, 3.5–5.7 kg) |
{{Estimate|4.2|3.5|5.7|type=cri}}
|
4.2 (95% CrI, 3.5–5.7) |
{{Estimate|4.2|3.5|5.7|mini=yes}}
|
4.2 (3.5–5.7) |
{{Estimate|4.2|3.5|5.7|99|mini=yes}}
|
4.2 (3.5–5.7) |
{{Estimate|4.2|3.5|5.7|mini=auto}}
|
4.2 (3.5–5.7) |
{{Estimate|4.2|3.5|5.7|95|mini=auto}}
|
4.2 (3.5–5.7) |
{{Estimate|4.2|3.5|5.7|99|mini=auto}}
|
4.2 (99% CI, 3.5–5.7) |
{{Estimate|45|27|73|99|unit=%|type=cri|mini=yes}}
|
45% (27–73%) |
TemplateData
[edit]TemplateData for Estimate
A template for styling individual table cells with standard contents and colors.
Parameter | Description | Type | Status | |
---|---|---|---|---|
estimate | 1 | estimated value
| Number | required |
lower | 2 | lower bound
| Number | suggested |
higher | 3 | upper bound
| Number | suggested |
level | 4 | confidence or credibility level in percent
| Number | suggested |
unit | unit | unit of measure, such as kg, or sign, such as %
| Line | suggested |
type | type | type of interval, either 'ci' (confidence interval) or 'cri' (credible interval)
| Line | suggested |
minimal | mini | minimal format where the confidence or credibility level is placed in a tooltip, useful in tables to save space, either 'yes', 'no' or 'auto' (assumed 95% level, should be stated close by in prose)
| Line | optional |
See also
[edit]Notes
[edit]