Template talk:Infobox probability distribution 2

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconStatistics Redirect‑class
WikiProject iconThis redirect is within the scope of WikiProject Statistics, a collaborative effort to improve the coverage of statistics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
RedirectThis redirect does not require a rating on Wikipedia's content assessment scale.

Usage[edit]

To use this template, put this in the article and fill it in as appropriate (see below code for detail):

{{Probability distribution|
   name        =|
   type        =|
   pdf_image   =|
   cdf_image   =|
   parameters  =|
   parameters2 =|
   support     =|
   support2    =|
   pdf         =|
   pdf2        =|
   cdf         =|
   cdf2        =|
   mean        =|
   mean2       =|
   median      =|
   median2     =|
   mode        =|
   mode2       =|
   variance    =|
   variance2   =|
   skewness    =|
   skewness2   =|
   kurtosis    =|
   kurtosis2   =|
   entropy     =|
   entropy2    =|
   mgf         =|
   mgf2        =|
   char        =|
   char2       =|
 }}

Fields (data goes between the equal size and pipe):

  • "name" should be the name of the distribution without "distribution" in it (e.g., "Normal", "Exponential")
  • "type" should be either "density" or "mass", which corresponds to probability density function and probability mass function
  • "pdf_image" should be a full wikicode for an image (including the "[[Image: ...]]"
  • "cdf_image" same as "pdf_image"
  • The following should all be tex equations and exclude any function labels (exclude function portion like ; brevity is key)
    • "parameters" should be the parameters for the distribtion (such as and for the normal distribution)
    • "support" should be 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.
    • "pdf" the pdf/pmf
    • "cdf" the cdf
    • "mean" the mean
    • "median" the median
    • "mode" the mode
    • "variance" the variance
    • "skewness" the skewness
    • "kurtosis" the kurtosis excess
    • "entropy" the information entropy
    • "mgf" the moment generating function
    • "char" the characteristic function

If the field has a 2 after it, "pdf2" for example, it is for alternative representation of that quantity. If both representations are the same, both fields should be identical.

If any of these don't exist, then put "Does not exist" (or something to the same effect); leave blank if unknown.

suggestion[edit]

If a field gets the same contents for both the first and second representation, could we use colspan to merge the two cells? Btyner (talk) 23:33, 12 May 2009 (UTC)[reply]