الگو:جعبه اطلاعات توزیع احتمال/توضیحات
پرش به ناوبری
پرش به جستجو
الگو:Documentation subpage الگو:Lua
Example
الگو:Infobox probability distribution
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:
{{Infobox probability distribution
| name =
| type =
| pdf_image =
| cdf_image =
| notation =
| parameters =
| support =
| pdf =
| cdf =
| quantile =
| mean =
| median =
| mode =
| variance =
| mad =
| skewness =
| kurtosis =
| entropy =
| mgf =
| cf =
| pgf =
| fisher =
| moments =
| KLdiv =
| JSDiv =
}}
Parameters
- الگو:Para — 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 — possible values are "discrete" (or "mass"), "continuous" (or "density"), and "multivariate"
- الگو:Para — probability density image-spec, such as:
xxx.svg. - الگو:Para — probability density image caption
- الگو:Para — alternative text for the image in الگو:Para
- الگو:Para — cumulative distribution image-spec, such as:
yyy.svg. - الگو:Para — cumulative distribution image caption
- الگو:Para — alternative text for the image in الگو:Para
- الگو:Para — typical designation for this distribution, for example . The notation should include all the distribution parameters explained in the next cell.
- الگو:Para — parameters of the distribution family (such as الگو:Mvar and الگو:Math for the normal distribution).
- الگو:Para — the support of the distribution, which may depend on the parameters. Specify this as
<math>x \in some set</math>for continuous distributions, and as<math>k \in some set</math>for discrete distributions. - الگو:Para — probability density function (or probability mass function), such as:
<math>\frac{\Gamma(r+k)}{k!\Gamma(r)}p^r(1-p)^k</math>. Please exclude the function label, such as "الگو:Math". - الگو:Para — cumulative distribution function, e.g.:
<math>I_p(r,k+1)\text{ where }I_p(x,y)</math> is the [[regularized incomplete beta function]]. - الگو:Para — quantile function (or inverse cumulative distribution function). If is the CDF and is the quantile function, then
- الگو:Para — the mean, or expected value.
- الگو:Para — the median, only for univariate distributions.
- الگو:Para — the mode.
- الگو:Para — variance of the distribution, or covariance matrix in multivariate case.
- الگو:Para — the mean absolute deviation.
- الگو:Para — the skewness.
- الگو:Para — the kurtosis excess.
- الگو:Para — 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 — the moment-generating function, for example:
<math>\left(\frac{p}{1-(1-p) e^t}\right)^r</math>. - الگو:Para/الگو:Para — the characteristic function, such as:
<math>\left(\frac{p}{1-(1-p) e^{it}}\right)^r</math>. - الگو:Para - the Probability-generating function.
- الگو:Para — the Fisher information matrix for the model.
- الگو:Para — the Kullback-Leibler divergence of the model
- الگو:Para — the Jensen-Shannon divergence of the model
- الگو:Para — formulas to use in Method of moments for the model.
- الگو:Para — optional message which will be displayed before all other content in the infobox.
- الگو:Para — margin space left of infobox (default: 1em).
- الگو:Para — width of the infobox (default: 325px).
الگو:Para, الگو:Para, الگو:Para, الگو:Para, الگو:Para, الگو:Para, الگو:Para, الگو:Para, الگو:Para, الگو:Para, الگو:Para, الگو:Para, الگو:Para, الگو:Para/الگو:Para, and الگو:Para are the same as their counterparts above. They should be used when the distribution needs two sets to describe it, e.g. Gamma distribution.