Template:Estimate
?
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%).
A prefix to indicate approximation or estimation is uncommon, as the interval and the context in the text already indicate that the value is not exact.
Usage
編集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|sep=to}}
|
−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|prefix=sym}}
|
≈4.2 (95% CI, 3.5–5.7) |
{{Estimate|4.2|3.5|5.7|prefix=est}}
|
est. 4.2 (95% CI, 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|sep=to|prefix=est|mini=yes}}
|
est. 45% (27 to 73%) |
TemplateData
編集A template for styling individual table cells with standard contents and colors.
パラメーター | 説明 | 型 | 状態 | |
---|---|---|---|---|
estimate | 1 | estimated value
| 数値 | 必須 |
lower | 2 | lower bound
| 数値 | 推奨 |
higher | 3 | upper bound
| 数値 | 推奨 |
level | 4 | confidence or credibility level in percent
| 数値 | 推奨 |
separator | sep | interval separator, either 'dash' (for positive values) or 'to' (for negative or positive values)
| 行 | 推奨 |
unit | unit | unit of measure, such as kg, or sign, such as %
| 行 | 推奨 |
type | type | type of interval, either 'ci' (confidence interval) or 'cri' (credible interval)
| 行 | 推奨 |
prefix | prefix | prefix (uncommon); usually none, but may be 'sym' (symbol for approximation) or 'est' (abbreviation of estimated) or other to indicate explicitly that the value is estimated
| 行 | 省略可能 |
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)
| 行 | 省略可能 |