Modèle:Infobox Distribution statistiques/Documentation

De testwiki
Aller à la navigation Aller à la recherche

Modèle:Sous-page de documentation Modèle:Bandeau Infobox V2

Ce modèle d'infobox V2 permet la mise en place d'une infobox dans tous les articles concernant la Distribution statistiques.

Syntaxe

Copiez et collez ceci dans votre article puis renseignez les champs.

{{Infobox Distribution statistiques
 | name        =
 | pdf_image   =
 | pdf_légende =
 | cdf_image   =
 | cdf_légende =
 | parameters  =
 | support     =
 | pdf         =
 | cdf         =
 | mean        =
 | median      =
 | mode        =
 | variance    =
 | skewness    =
 | kurtosis    =
 | entropy     =
 | mgf         =
 | char        =
 | pgf         =
}}

Paramètres

Voici une courte définition de chacun des paramètres disponibles au sein de l'infobox :

Exemple

Modèle:Infobox Distribution statistiques

{{Infobox Distribution statistiques
 | name        = Géometrique
 | pmf_image   = Geometricpdf.jpg
 | pmf_légende = 
 | cdf_image   = Geometriccdf.jpg
 | cdf_légende = 
 | parameters  = <math>0< p \leq 1</math> probabilité de succès (réel), <math>q=1-p</math> probabilité d'échec
 | support     = <math>k \in \{1,2,3,\dots\}\!</math>
 | pmf         = <math>q^{k-1}\,p\!</math>
 | cdf         = <math>1-q^k\!</math>
 | mean        = <math>\frac{1}{p}\!</math>
 | median      = <math>\left\lceil \frac{-\log(2)}{\log(q)} \right\rceil\!</math> (pas unique si <math>-\log(2)/\log(q)</math> est entier)
 | mode        = 1
 | variance    = <math>\frac{q}{p^2}\!</math>
 | skewness    = <math>\frac{2-p}{\sqrt{q}}\!</math>
 | kurtosis    = <math>6+\frac{p^2}{q}\!</math>
 | entropy     = <math>\frac{-q\log_2 q - p \log_2 p}{p}\!</math>
 | mgf         = <math>\frac{pe^t}{1-(1-p) e^t}\!</math> (non !)
 | char        = <math>\frac{pe^{it}}{1-q\,e^{it}}\!</math>
}}

Modèle:Clr

TemplateData

<templatedata> { "params": {}, "format": "Modèle:\n\n" } </templatedata>

Modèle:Projet