Content deleted Content added
→Parameters: added likelihood to template |
|||
(11 intermediate revisions by 8 users not shown) | |||
Line 20:
| mode = <math>\mu</math>
| variance = <math>\sigma^2</math>
| mad = <math>\sigma\sqrt{2
| aad = <math>\sigma\sqrt{2/\pi}</math>
| skewness = <math>0</math>
| kurtosis = <math>0</math> <!-- DO NOT REPLACE THIS WITH THE OLD-STYLE KURTOSIS WHICH IS 3. -->
Line 32 ⟶ 33:
== Usage ==
The '''Template:Infobox probability distribution''' generates a right-hand side infobox, based on the specified parameters. To use this template, copy the following code in your article and fill in as appropriate:
<syntaxhighlight lang="wikitext">
{{Infobox probability distribution
| name =
Line 48 ⟶ 49:
| mode =
| variance =
| mad =
| skewness =
| kurtosis =
Line 59 ⟶ 61:
| moments =
| KLdiv =
| likelihood =
| JSDiv =
▲| ES =
}}
</syntaxhighlight>
== Parameters ==
Line 69 ⟶ 70:
* {{para|type}} — possible values are "discrete" (or "mass"), "continuous" (or "density"), and "multivariate"
* {{para|pdf_image}} — probability density image-spec, such as: <code><nowiki>xxx.svg</nowiki></code>.
* {{para|pdf_caption}} — probability density image
* {{para|pdf_image_alt}} — [[WP:ALT|alternative text]] for the image in {{para|pdf_image}}
* {{para|cdf_image}} — cumulative distribution image-spec, such as: <code><nowiki>yyy.svg</nowiki></code>.
Line 84 ⟶ 85:
* {{para|mode}} — the [[mode (statistics)|mode]].
* {{para|variance}} — [[variance]] of the distribution, or [[covariance matrix]] in multivariate case.
* {{para|mad}} — the [[
* {{para|aad}} — the [[average absolute deviation|mean absolute deviation]] around the mean.
* {{para|skewness}} — the [[skewness]].
* {{para|kurtosis}} — the [[kurtosis excess]].
* {{para|entropy}} — the differential [[information entropy]], preferably expressed in unspecified units using base-unspecific log(.) rather than base-specific ln(.) which yields entropy in units of nats only.
* {{para|cross_entropy}} — the [[
* {{para|mgf}} — the [[moment-generating function]], for example: <syntaxhighlight lang="tex" inline><math>\left(\frac{p}{1-(1-p) e^t}\right)^r</math></syntaxhighlight>.
* {{para|char}}/{{para|cf}} — the [[Characteristic function (probability theory)|characteristic function]], such as: <syntaxhighlight lang="tex" inline><math>\left(\frac{p}{1-(1-p) e^{it}}\right)^r</math></syntaxhighlight>.
* {{para|pgf}} - the [[
* {{para|fisher}} — the [[Fisher information matrix]] for the model.
* {{para|KLDiv}} — the [[Kullback-Leibler divergence]] of the model
* {{para|likelihood}} — the [[Likelihood function]] of the model
* {{para|JSDiv}} — the [[Jensen-Shannon divergence]] of the model
* {{para|moments}} — formulas to use in [[Method of moments (statistics)|
* {{para|ES}} — the [[expected shortfall]] or CVaR for the model.
* {{para|bPOE}} — the buffered probability of exceedance for the model.
* {{para|intro}} — optional message which will be displayed before all other content in the infobox.
* {{para|marginleft}} — margin space left of infobox (default: 1em).
* {{para|box_width}} — width of the infobox (default: 325px).
{{para|parameters2}}, {{para|support2}}, {{para|pdf2}}, {{para|cdf2}}, {{para|mean2}}, {{para|median2}}, {{para|mode2}}, {{para|variance2}}, {{para|mad}}, {{para|aad}}, {{para|skewness2}}, {{para|kurtosis2}}, {{para|entropy2}}, {{para|mgf2}}, {{para|char2}}/{{para|cf2}}, {{para|moments2}}, {{para|fisher2}} are the same as their counterparts above. They should be used when the distribution needs two sets to describe it, e.g. [[Gamma distribution]].
== Tracking category ==
|