Post Reply 
probability plot - weibull
03-10-2018, 11:44 PM (This post was last modified: 03-10-2018 11:50 PM by Marcus_W.)
Post: #4
RE: probability plot - weibull
Hey,

I think I found a solution, based on this:
http://www.real-statistics.com/distribut...egression/

I am not so good in coding, but maybe there is someone how can use this:

Code:

LOCAL len :=0;
LOCAL n :=0;
LOCAL param := 0;
LOCAL beta := 0;
LOCAL lambda := 0;
LOCAL value := 0;
EXPORT weibull_ifitr(data,percent)
BEGIN
C1:=data;
len:=length(C1);
C2:=sort(C1);
C3:=ln(C2);
FOR n FROM 1 TO len DO
C4(n):=(n-0.5)/len;
END;
C5:=ln(-ln(1-C4));
param:=linear_regression(C3,C5);
beta:=param(1);
lambda:=e^(-param(2)/param(1));
value:=weibull_icdf(beta,lambda,percent);
RETURN value;
END;

Comments are welcome.

bye,
Marcus
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
probability plot - weibull - Marcus_W - 03-09-2018, 08:26 PM
RE: probability plot - weibull - parisse - 03-10-2018, 07:11 AM
RE: probability plot - weibull - Marcus_W - 03-10-2018, 01:07 PM
RE: probability plot - weibull - Marcus_W - 03-10-2018 11:44 PM



User(s) browsing this thread: 1 Guest(s)