Content deleted Content added
fmt |
→Parameters: document new parameters |
||
Line 33:
== Parameters ==
* {{para|name}} — Name at the top of the infobox; should be the name of the distribution without the word "distribution" in it, e.g. "Normal", "Exponential" (optional)
* {{para|type}} — possible values are
* {{para|pdf_image}} — probability density image-spec, such as: <code><nowiki>xxx.svg</nowiki></code>.
* {{para|pdf_caption}} — probability density image caption
* {{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>.
* {{para|cdf_caption}} — cumulative distribution image caption
* {{para|cdf_image_alt}} — [[WP:ALT|alternative text]] for the image in {{para|cdf_image}}
* {{para|notation}} — typical designation for this distribution, for example <math>\mathcal{N}(\mu,\sigma^2)</math>. The notation should include all the distribution parameters explained in the next cell.
* {{para|parameters}} — parameters of the distribution family (such as {{mvar|μ}} and {{math|''σ''<sup>2</sup>}} for the normal distribution).
* {{para|support}} — the support of the distribution, which may depend on the parameters. Specify this as <source lang="tex" inline><math>x \in some set</math></source> for continuous distributions, and as <source lang="tex" inline><math>k \in some set</math></source> for discrete distributions.
* {{para|pdf}} — probability density function (or probability mass function), such as: <source lang="tex" inline><math>\frac{\Gamma(r+k)}{k!\Gamma(r)}p^r(1-p)^k</math></source>. Please exclude the function label, such as
* {{para|cdf}} — cumulative distribution function, e.g.: <code><nowiki><math>I_p(r,k+1)\text{ where }I_p(x,y)</math> is the [[regularized incomplete beta function]]</nowiki></code>.
* {{para|quantile}} — [[quantile function]] (or inverse cumulative distribution function). If <math>F()</math> is the CDF and <math>Q()</math> is the quantile function, then <math>Q(F(x))=x</math>
Line 53 ⟶ 55:
* {{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|mgf}} — the [[moment-generating function]], for example: <source lang="tex" inline><math>\left(\frac{p}{1-(1-p) e^t}\right)^r</math></source>.
* {{para|char}}
* {{para|pgf}} - the [[Probability-generating function]].
* {{para|fisher}} — the [[Fisher information matrix]] for the model.
Line 61 ⟶ 63:
* {{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|skewness2}}, {{para|kurtosis2}}, {{para|entropy2}}, {{para|mgf2}}, and {{para|char2}}/{{para|cf2}} are the same as their counterparts above. They should be used when the distribution needs two sets to describe it, e.g. [[Gamma distribution]].
== See also ==
|