Resources

Getting Started Example 2 for PROC RELIABILITY


/****************************************************************/
/*          S A S   S A M P L E   L I B R A R Y                 */
/*                                                              */
/*    NAME: RELGS1                                              */
/*   TITLE: Getting Started Example 2 for PROC RELIABILITY      */
/* PRODUCT: QC                                                  */
/*  SYSTEM: ALL                                                 */
/*    KEYS: reliability, lifetime data                          */
/*   PROCS: RELIABILITY                                         */
/*    DATA:                                                     */
/*                                                              */
/* SUPPORT: sasgjj                                              */
/*     REF: PROC RELIABILITY, INTRODUCTORY EXAMPLE 2.           */
/*    MISC:                                                     */
/****************************************************************/

data fluid;
   input Time voltage $ @@;
   datalines;
5.79    26kv    1579.52 26kv
2323.7  26kv    7.74    30kv
17.05   30kv    20.46   30kv
21.02   30kv    22.66   30kv
43.4    30kv    47.3    30kv
139.07  30kv    144.12  30kv
175.88  30kv    194.90  30kv
0.19     34kv    .78     34kv
0.96     34kv    1.31    34kv
2.78    34kv    3.16    34kv
4.15    34kv    4.67    34kv
4.85    34kv    6.50    34kv
7.35    34kv    8.01    34kv
8.27    34kv    12.06   34kv
31.75   34kv    32.52   34kv
33.91   34kv    36.71   34kv
72.89   34kv    .09     38kv
0.39     38kv    .47     38kv
0.73     38kv    .74     38kv
1.13    38kv    1.40    38kv
2.38    38kv
;
proc reliability data=fluid;
   distribution Weibull;
   pplot time=voltage  / overlay
                         noconf;
run;