Template talk:Infobox probability distribution 2

Latest comment: 15 years ago by Btyner in topic suggestion

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