snv
C SNV SOURCE CB215821 16/04/21 21:18:29 8920 IMPLICIT INTEGER(I-N) IMPLICIT REAL*8 (A-H,O-Z) C C C Fonction de convertion v.a. Johnson -> v.a Normale C C C DATA cons /-63.D0/ C C IFAULT = 1 IF (ITYPE .LT. 1 .OR. ITYPE .GT. 4) RETURN IFAULT = 0 GOTO (10, 20, 30, 40), ITYPE C C Distribution Sl C C 10 W = Xlam * (AJV - Xi) 10 W = Xlam * AJV - Xi IF (W .LE. 0.D0) GOTO 15 C SNV = Xlam * (LOG(W) * Delta + Gamma) RETURN 15 IFAULT = 2 RETURN C C Distribution Su C 20 W = (AJV - Xi) / Xlam IF (W .GT. cons) GOTO 23 W = -0.5D0 / W GOTO 27 23 W = SQRT(W * W + 1.D0) + W RETURN C C Distribution Sb C 30 W = AJV - Xi V = Xlam - W IF (W .LE. 0.D0 .OR. V .LE. 0.D0) GOTO 35 RETURN RETURN C C Distribution Normale C RETURN END
© Cast3M 2003 - Tous droits réservés.
Mentions légales