<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AInfobox_probability_distribution%2Fdoc</id>
	<title>Template:Infobox probability distribution/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AInfobox_probability_distribution%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Infobox_probability_distribution/doc&amp;action=history"/>
	<updated>2026-04-04T11:24:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:Infobox_probability_distribution/doc&amp;diff=20266&amp;oldid=prev</id>
		<title>Wikipedia&gt;JJMC89: +{{TemplateStyles}}</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Infobox_probability_distribution/doc&amp;diff=20266&amp;oldid=prev"/>
		<updated>2021-10-11T06:08:04Z</updated>

		<summary type="html">&lt;p&gt;+{{TemplateStyles}}&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
{{Lua|Module:Infobox3cols|Module:InfoboxImage|Module:Check for unknown parameters}}{{TemplateStyles|Template:Infobox probability distribution/styles.css}}&lt;br /&gt;
== Example ==&lt;br /&gt;
{{Infobox probability distribution&lt;br /&gt;
  | name       = Normal distribution&lt;br /&gt;
  | type       = density&lt;br /&gt;
  | pdf_image  = Normal Distribution PDF.svg&lt;br /&gt;
  | pdf_caption = The red curve is the &amp;#039;&amp;#039;standard normal distribution&amp;#039;&amp;#039;&lt;br /&gt;
  | cdf_image  = Normal Distribution CDF.svg&lt;br /&gt;
  | cdf_caption = &lt;br /&gt;
  | notation   = &amp;lt;math&amp;gt;\mathcal{N}(\mu,\sigma^2)&amp;lt;/math&amp;gt;&lt;br /&gt;
  | parameters = &amp;lt;math&amp;gt;\mu\in\R&amp;lt;/math&amp;gt; = mean ([[location parameter|location]])&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt;\sigma^2&amp;gt;0&amp;lt;/math&amp;gt; = variance (squared [[scale parameter|scale]])&lt;br /&gt;
  | support    = &amp;lt;math&amp;gt;x\in\R&amp;lt;/math&amp;gt;&lt;br /&gt;
  | pdf        = &amp;lt;math&amp;gt;\frac{1}{\sigma\sqrt{2\pi}} e^{-\frac{1}{2}\left(\frac{x - \mu}{\sigma}\right)^2}&amp;lt;/math&amp;gt;&lt;br /&gt;
  | cdf        = &amp;lt;math&amp;gt;\frac{1}{2}\left[1 + \operatorname{erf}\left( \frac{x-\mu}{\sigma\sqrt{2}}\right)\right] &amp;lt;/math&amp;gt;&lt;br /&gt;
  | quantile   = &amp;lt;math&amp;gt;\mu+\sigma\sqrt{2} \operatorname{erf}^{-1}(2p-1)&amp;lt;/math&amp;gt;&lt;br /&gt;
  | mean       = &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt;&lt;br /&gt;
  | median     = &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt;&lt;br /&gt;
  | mode       = &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt;&lt;br /&gt;
  | variance   = &amp;lt;math&amp;gt;\sigma^2&amp;lt;/math&amp;gt;&lt;br /&gt;
  | mad        = &amp;lt;math&amp;gt;\sigma\sqrt{2/\pi}&amp;lt;/math&amp;gt;&lt;br /&gt;
  | skewness   = &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt;&lt;br /&gt;
  | kurtosis   = &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; &amp;lt;!-- DO NOT REPLACE THIS WITH THE OLD-STYLE KURTOSIS WHICH IS 3. --&amp;gt;&lt;br /&gt;
  | entropy    = &amp;lt;math&amp;gt;\frac{1}{2} \log(2\pi e\sigma^2)&amp;lt;/math&amp;gt;&lt;br /&gt;
  | mgf        = &amp;lt;math&amp;gt;\exp(\mu t + \sigma^2t^2/2)&amp;lt;/math&amp;gt;&lt;br /&gt;
  | char       = &amp;lt;math&amp;gt;\exp(i\mu t - \sigma^2 t^2/2)&amp;lt;/math&amp;gt;&lt;br /&gt;
  | fisher     = &amp;lt;math&amp;gt;\mathcal{I}(\mu,\sigma) =\begin {pmatrix} 1/\sigma^2 &amp;amp; 0 \\ 0 &amp;amp; 2/\sigma^2\end{pmatrix}&amp;lt;/math&amp;gt; &lt;br /&gt;
&amp;lt;math&amp;gt;\mathcal{I}(\mu,\sigma^2) =\begin {pmatrix} 1/\sigma^2 &amp;amp; 0 \\ 0 &amp;amp; 1/(2\sigma^4)\end{pmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
  | KLDiv      = &amp;lt;math&amp;gt;{ 1 \over 2 } \left\{ \left( \frac{\sigma_0}{\sigma_1} \right)^2 + \frac{(\mu_1 - \mu_0)^2}{\sigma_1^2} - 1 + 2 \ln {\sigma_1 \over \sigma_0} \right\}&amp;lt;/math&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
== Usage ==&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Template:Infobox probability distribution&amp;#039;&amp;#039;&amp;#039; 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:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Infobox probability distribution&lt;br /&gt;
| name       = &lt;br /&gt;
| type       = &lt;br /&gt;
| pdf_image  = &lt;br /&gt;
| cdf_image  = &lt;br /&gt;
| notation   = &lt;br /&gt;
| parameters = &lt;br /&gt;
| support    = &lt;br /&gt;
| pdf        = &lt;br /&gt;
| cdf        = &lt;br /&gt;
| quantile   = &lt;br /&gt;
| mean       = &lt;br /&gt;
| median     = &lt;br /&gt;
| mode       = &lt;br /&gt;
| variance   = &lt;br /&gt;
| mad        = &lt;br /&gt;
| skewness   = &lt;br /&gt;
| kurtosis   = &lt;br /&gt;
| entropy    = &lt;br /&gt;
| mgf        = &lt;br /&gt;
| cf         = &lt;br /&gt;
| pgf        = &lt;br /&gt;
| fisher     = &lt;br /&gt;
| moments    = &lt;br /&gt;
| KLdiv      = &lt;br /&gt;
| JSDiv      = &lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
* {{para|name}} — Name at the top of the infobox; should be the name of the distribution without the word &amp;quot;distribution&amp;quot; in it, e.g. &amp;quot;Normal&amp;quot;, &amp;quot;Exponential&amp;quot; (optional)&lt;br /&gt;
* {{para|type}} — possible values are &amp;quot;discrete&amp;quot; (or &amp;quot;mass&amp;quot;), &amp;quot;continuous&amp;quot; (or &amp;quot;density&amp;quot;), and &amp;quot;multivariate&amp;quot;&lt;br /&gt;
* {{para|pdf_image}} — probability density image-spec, such as: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;xxx.svg&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
* {{para|pdf_caption}} — probability density image caption&lt;br /&gt;
* {{para|pdf_image_alt}} — [[WP:ALT|alternative text]] for the image in {{para|pdf_image}}&lt;br /&gt;
* {{para|cdf_image}} — cumulative distribution image-spec, such as: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;yyy.svg&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
* {{para|cdf_caption}} — cumulative distribution image caption&lt;br /&gt;
* {{para|cdf_image_alt}} — [[WP:ALT|alternative text]] for the image in {{para|cdf_image}}&lt;br /&gt;
* {{para|notation}} — typical designation for this distribution, for example &amp;lt;math&amp;gt;\mathcal{N}(\mu,\sigma^2)&amp;lt;/math&amp;gt;. The notation should include all the distribution parameters explained in the next cell.&lt;br /&gt;
* {{para|parameters}} — parameters of the distribution family (such as {{mvar|μ}} and {{math|&amp;#039;&amp;#039;σ&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}} for the normal distribution).&lt;br /&gt;
* {{para|support}} — the support of the distribution, which may depend on the parameters. Specify this as &amp;lt;syntaxhighlight lang=&amp;quot;tex&amp;quot; inline&amp;gt;&amp;lt;math&amp;gt;x \in some set&amp;lt;/math&amp;gt;&amp;lt;/syntaxhighlight&amp;gt; for continuous distributions, and as &amp;lt;syntaxhighlight lang=&amp;quot;tex&amp;quot; inline&amp;gt;&amp;lt;math&amp;gt;k \in some set&amp;lt;/math&amp;gt;&amp;lt;/syntaxhighlight&amp;gt; for discrete distributions.&lt;br /&gt;
* {{para|pdf}} — probability density function (or probability mass function), such as: &amp;lt;syntaxhighlight lang=&amp;quot;tex&amp;quot; inline&amp;gt;&amp;lt;math&amp;gt;\frac{\Gamma(r+k)}{k!\Gamma(r)}p^r(1-p)^k&amp;lt;/math&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;. Please exclude the function label, such as &amp;quot;{{math|&amp;#039;&amp;#039;ƒ&amp;#039;&amp;#039;(x;&amp;amp;nbsp;&amp;#039;&amp;#039;μ&amp;#039;&amp;#039;,&amp;#039;&amp;#039;σ&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)}}&amp;quot;.&lt;br /&gt;
* {{para|cdf}} — cumulative distribution function, e.g.: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;math&amp;gt;I_p(r,k+1)\text{ where }I_p(x,y)&amp;lt;/math&amp;gt; is the [[regularized incomplete beta function]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
* {{para|quantile}} — [[quantile function]] (or inverse cumulative distribution function). If &amp;lt;math&amp;gt;F()&amp;lt;/math&amp;gt; is the CDF and &amp;lt;math&amp;gt;Q()&amp;lt;/math&amp;gt; is the quantile function, then &amp;lt;math&amp;gt;Q(F(x))=x&amp;lt;/math&amp;gt;&lt;br /&gt;
* {{para|mean}} — the [[mean]], or [[expected value]].&lt;br /&gt;
* {{para|median}} — the [[median]], only for univariate distributions.&lt;br /&gt;
* {{para|mode}} — the [[mode (statistics)|mode]].&lt;br /&gt;
* {{para|variance}} — [[variance]] of the distribution, or [[covariance matrix]] in multivariate case.&lt;br /&gt;
* {{para|mad}} — the [[average absolute deviation|mean absolute deviation]].&lt;br /&gt;
* {{para|skewness}} — the [[skewness]].&lt;br /&gt;
* {{para|kurtosis}} — the [[kurtosis excess]].&lt;br /&gt;
* {{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. &lt;br /&gt;
* {{para|mgf}} — the [[moment-generating function]], for example: &amp;lt;syntaxhighlight lang=&amp;quot;tex&amp;quot; inline&amp;gt;&amp;lt;math&amp;gt;\left(\frac{p}{1-(1-p) e^t}\right)^r&amp;lt;/math&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;.&lt;br /&gt;
* {{para|char}}/{{para|cf}} — the [[Characteristic function (probability theory)|characteristic function]], such as: &amp;lt;syntaxhighlight lang=&amp;quot;tex&amp;quot; inline&amp;gt;&amp;lt;math&amp;gt;\left(\frac{p}{1-(1-p) e^{it}}\right)^r&amp;lt;/math&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;.&lt;br /&gt;
* {{para|pgf}} - the [[Probability-generating function]].&lt;br /&gt;
* {{para|fisher}} — the [[Fisher information matrix]] for the model.&lt;br /&gt;
* {{para|KLDiv}} — the [[Kullback-Leibler divergence]] of the model&lt;br /&gt;
* {{para|JSDiv}} — the [[Jensen-Shannon divergence]] of the model&lt;br /&gt;
* {{para|moments}} — formulas to use in [[Method of moments (statistics)|Method of moments]] for the model.&lt;br /&gt;
* {{para|intro}} — optional message which will be displayed before all other content in the infobox.&lt;br /&gt;
* {{para|marginleft}} — margin space left of infobox (default: 1em).&lt;br /&gt;
* {{para|box_width}} — width of the infobox (default: 325px).&lt;br /&gt;
&lt;br /&gt;
{{para|parameters2}}, {{para|support2}}, {{para|pdf2}}, {{para|cdf2}}, {{para|mean2}}, {{para|median2}}, {{para|mode2}}, {{para|variance2}}, {{para|mad}}, {{para|skewness2}}, {{para|kurtosis2}}, {{para|entropy2}}, {{para|mgf2}}, {{para|char2}}/{{para|cf2}}, and {{para|moments2}} are the same as their counterparts above. They should be used when the distribution needs two sets to describe it, e.g. [[Gamma distribution]].&lt;br /&gt;
&lt;br /&gt;
== Tracking category ==&lt;br /&gt;
* {{clc|Pages using infobox probability distribution with unknown parameters}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- CATEGORIES HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Mathematics infobox templates|{{PAGENAME}}]]&lt;br /&gt;
[[Category:Statistics templates]]&lt;br /&gt;
[[Category:Templates that add a tracking category]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;JJMC89</name></author>
	</entry>
</feed>