Resources

Analysis of binomial data

 /****************************************************************/
 /*          S A S   S A M P L E   L I B R A R Y                 */
 /*                                                              */
 /*    NAME: RELREG                                              */
 /*   TITLE: Analysis of binomial data                           */
 /* PRODUCT: QC                                                  */
 /*  SYSTEM: ALL                                                 */
 /*    KEYS:                                                     */
 /*   PROCS: RELIABILITY                                         */
 /*    DATA: Nelson, W., Applied Life Data Analysis, p. 451      */
 /*     REF: SAS/QC Software: The RELIABILITY Procedure          */
 /*                                                              */
 /*                                                              */
 /****************************************************************/
 options nodate nostimer nonumber source2 ls=76 ps=80;
data binex;
   input board sample fail;
   cards;
   1 84 2
   2 72 3
   3 72 5
   4 119 19
   5 538 21
   6 51 2
   7 517 9
   8 462 18
   9 143 2
   ;
   run;

proc reliability;
   distribution binomial;
   analyze fail(sample) = board / predict(1000)
                                  tolerance(.05);
   run;