Fichier:Regression lois statistiques fiabilite locotracteur.svg
De testwiki
Aller à la navigation
Aller à la recherche
Taille de cet aperçu PNG pour ce fichier SVG : 584 × 456 pixels. Autres résolutions : 308 × 240 pixels | 615 × 480 pixels | 984 × 768 pixels | 1 280 × 999 pixels | 2 560 × 1 999 pixels.
Fichier d’origine (Fichier SVG, nominalement de 584 × 456 pixels, taille : 242 kio)
Ce fichier provient de Wikimedia Commons et peut être utilisé par d'autres projets. Sa description sur sa page de description est affichée ci-dessous.
Description
| DescriptionRegression lois statistiques fiabilite locotracteur.svg |
Français : Régression pour trouver un modèle paramétrique de la fiabilité.
Créé avec Scilab, modifié avec Inkscape. English: Regression to find a parametric model for the Reliability.
Created with Scilab, modified with Inkscape. |
| Date | |
| Source | Travail personnel |
| Auteur | Cdang |
| Autres versions |
|
| SVG information InfoField |
Source code

This media was created with Scilab (Logiciel de calcul numérique libre et open source)
Here is a listing of the source used to create this file.
Here is a listing of the source used to create this file.
// Ce script nécessite le module Atoms CASCI
clear;
// paramètres de la loi de Weibull
beta_forme = 0.845;
eta_echelle = 126;
// génération des données
// Y = linspace(0, 1, 30)
// Y = Y(2:$-1);
// t_orig = floor(idfweibull(Y, beta_forme, eta_echelle))';
t = [2, 5, 9, 13, 17, 22, 27, 39, 39, 39, 52, 64, 64, 76, 86, 97, 108, 121,...
135, 151, 169, 191, 215, 245, 282, 332]';
t_complet = [t ; 365 ; 365];
N = 28
// nombre cumulé
i = 1;
j = 1
n0 = 1;
nt = size(t, "*");
while i < nt
if t(i)<>t(i+1) then
dn(j) = n0; n0 = 1;
tt(j) = t(i);
j = j + 1;
else
n0 = n0 + 1;
end
i = i+1;
end
dn(j) = n0;
tt(j) = t(i);
ndn = j;
n(1) = dn(1);
for i = 2:ndn
n(i) = n(i-1) + dn(i);
end
// Fréquences cumulées
F = n/(N+1);
R = 1-F;
// loi exponentielle
lnR = log(R);
a_exp=sum(tt.*lnR)/sum(tt.^2);
Rexp = 1-cdfexponential(tt, -a_exp);
// tracé
scf(0);
clf;
subplot(2,2,1)
plot(tt, lnR, "o")
xpoly([tt(1), tt($)], [a_exp*tt(1), a_exp*tt($)]);
xtitle("Diagramme semi-logarithmique (loi exponentielle)", "t (j)", "ln R")
xstring(240, -0.2, "$\lambda ="+string(-a_exp)+"$");
// droite de Henry : quantiles loi normale
t_norm = idfnormal(F, 0, 1);
[a_norm, b_norm, sigmanorm] = reglin(tt', t_norm'); // régression linéaire
sigma_norm = 1/a_norm;
mu_norm = -b_norm*sigma_norm;
Rnorm = cdfnormal(tt, mu_norm, sigma_norm);
subplot(2, 2, 2)
plot(tt, t_norm, "o");
xpoly([tt(1), tt($)], [a_norm*tt(1) + b_norm, a_norm*tt($) + b_norm]);
xtitle("Droite de Henry (loi normale)", "t (j)", "quantile")
xstring(10, 1.15, "$\mu ="+string(mu_norm)+"\text{ ; } \sigma ="...
+string(sigma_norm)+"$")
// droite de Henry : quantiles loi log-normale
lnt = log(tt);
[a_lognorm, b_lognorm, sigmalognorm] = reglin(lnt', t_norm');
// régression linéaire
sigma_lognorm = 1/a_lognorm;
mu_lognorm = -b_lognorm*sigma_lognorm;
Rlognorm = 1-cdfnormal(lnt, mu_lognorm, sigma_lognorm);
subplot(2, 2, 3)
plot(lnt, t_norm, "o");
xpoly([lnt(1), lnt($)], [a_lognorm*lnt(1) + b_lognorm, a_lognorm*lnt($) + b_lognorm]);
xtitle("Droite de Henry (loi log-normale)", "ln t", "quantile")
xstring(0.2, 1.15, "$\mu ="+string(mu_lognorm)+"\text{ ; } \sigma ="...
+string(sigma_lognorm)+"$")
// loi de Weibull
Yweib = log(-log(R));
[a_weib, b_weib, sigma_weib] = reglin(lnt', Yweib');
beta_weib = a_weib;
lambda = exp(-b_weib/beta_weib);
Rweib = 1-cdfweibull(tt, beta_weib, lambda);
subplot(2,2,4)
plot(lnt, Yweib, "o")
xpoly([lnt(1), lnt($)], [a_weib*lnt(1) + b_weib, a_weib*lnt($) + b_weib]);
xtitle("Diagramme de Weibull", "t (j)", "ln R")
xstring(0.2, 0.55, "$\beta ="+string(beta_weib)+"\text{ ; } \lambda ="...
+string(lambda)+"$");
scf(1);
clf;
subplot(2,2,1)
plot(tt, R, "o")
plot(tt, Rexp)
xtitle("Loi exponentielle", "t (j)", "R")
subplot(2,2,2)
plot(tt, R, "o")
plot(tt, 1-Rnorm)
xtitle("Loi normale", "t (j)", "R")
subplot(2,2,3)
plot(tt, R, "o")
plot(tt, Rlognorm)
xtitle("Loi log-normale", "t (j)", "R")
subplot(2,2,4)
plot(tt, R, "o")
plot(tt, Rweib)
xtitle("Loi de Weibull", "t (j)", "R")
Conditions d’utilisation
Cdang, en tant que détenteur des droits d’auteur sur cette œuvre, la publie sous la licence suivante :
Ce fichier est disponible selon les termes de la licence Creative Commons Attribution – Partage dans les Mêmes Conditions 3.0 Non Transposé.
Attribution:
- Vous êtes libre :
- de partager – de copier, distribuer et transmettre cette œuvre
- d’adapter – de modifier cette œuvre
- Sous les conditions suivantes :
- paternité – Vous devez donner les informations appropriées concernant l'auteur, fournir un lien vers la licence et indiquer si des modifications ont été faites. Vous pouvez faire cela par tout moyen raisonnable, mais en aucune façon suggérant que l’auteur vous soutient ou approuve l’utilisation que vous en faites.
- partage à l’identique – Si vous modifiez, transformez ou vous basez sur cet élément, vous devez distribuer votre contribution sous une license identique ou compatible à celle de l’original.
Légendes
Ajoutez en une ligne la description de ce que représente ce fichier
Éléments décrits dans ce fichier
dépeint
Valeur sans élément de Wikidata
27 juin 2013
Historique du fichier
Cliquer sur une date et heure pour voir le fichier tel qu'il était à ce moment-là.
| Date et heure | Vignette | Dimensions | Utilisateur | Commentaire | |
|---|---|---|---|---|---|
| actuel | 1 juillet 2013 à 10:30 | Aucune vignette | 584 × 456 (242 kio) | wikimediacommons>Cdang | + parameters values in log-normal case |
Utilisation du fichier
La page suivante utilise ce fichier :