|
Chapter Contents |
Previous |
Next |
| The RELIABILITY Procedure |
data binex;
input board sample fail;
datalines;
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
;
proc print data=binex;
run;
Figure 30.23 displays a listing of the data. The variable BOARD identifies the circuit board, the variable SAMPLE provides the number of capacitors on the boards, and the variable FAIL provides the number of capacitors failing on the boards.
|
The following statements analyze the proportion
of capacitors failing.
proc reliability;
distribution binomial;
analyze fail(sample) = board / predict(1000)
tolerance(.05);
run;
The "Pooled Data Analysis" table displays the estimated binomial probability and exact binomial confidence limits when data from all boards are pooled. The chi-squared value and p-value for a test of equality of the binomial probabilities for all of the boards are also shown. In this case, the p-value is less than 0.05, so you reject the test of equality at the 0.05 level.
The "Predicted Values and Limits" table provides the predicted failure count and prediction limits for the number of capacitors that would fail in a future sample of size 1000 for the pooled data, as requested with the PREDICT(1000) option. The "Sample Size for Estimation" table gives the sample size required to estimate the binomial probability to within 0.05 for the pooled data, as requested with the TOLERANCE(.05) option.
The "Estimates by Group" table supplies the estimated binomial probability, confidence limits, and the contribution to the total chi-squared for each board. The pooled values are shown on the last line of the table.
The "Predicted Values by Group" table gives the predicted counts in a future sample of size 1000, prediction limits, and the sample size required to estimate the binomial probability to within the tolerance of 0.05 for each board. Values for the pooled data are shown on the last line of the table.
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.