Getting Started Example 10 for PROC RELIABILITY


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

data Alloy;
   input kCycles@@;
   Cen = _n_ > 67;
   label kCycles = 'Fatigue Life in Thousands of Cycles';
   datalines;
94  96  99  99  104 108 112 114 117 117
118 121 121 123 129 131 133 135 136 139
139 140 141 141 143 144 149 149 152 153
159 159 159 159 162 168 168 169 170 170
171 172 173 176 177 180 180 184 187 188
189 190 196 197 203 205 211 213 224 226
227 256 257 269 271 274 291 300 300 300
300 300
;
proc Reliability data=Alloy;
   distribution Weibull3;
   Pplot kCycles*Cen(1) / Profile(noconf range=(50,100)) LifeUpper=500;
run;