Mean Cumulative Function Plot
/****************************************************************/
/* S A S S A M P L E L I B R A R Y */
/* */
/* NAME: RELMCF1 */
/* TITLE: Mean Cumulative Function Plot */
/* PRODUCT: QC */
/* SYSTEM: ALL */
/* KEYS: */
/* PROCS: RELIABILITY */
/* DATA: Nelson, W. "Confidence Limits for Recurrence Data - */
/* Applied to Cost or Number of Product Repairs," */
/* Technometrics, 37, 2, 147-157 */
/* REF: SAS/QC Software: The RELIABILITY Procedure */
/* */
/****************************************************************/
options nodate nostimer nonumber source2 ls=76 ps=80;
data valve;
input id days value @@;
cards;
251 761 -1 252 759 -1 327 98 1 327 667 -1
328 326 1 328 653 1 328 653 1 328 667 -1
329 665 -1 330 84 1 330 667 -1 331 87 1
331 663 -1 389 646 1 389 653 -1 390 92 1
390 653 -1 391 651 -1 392 258 1 392 328 1
392 377 1 392 621 1 392 650 -1 393 61 1
393 539 1 393 648 -1 394 254 1 394 276 1
394 298 1 394 640 1 394 644 -1 395 76 1
395 538 1 395 642 -1 396 635 1 396 641 -1
397 349 1 397 404 1 397 561 1 397 649 -1
398 631 -1 399 596 -1 400 120 1 400 479 1
400 614 -1 401 323 1 401 449 1 401 582 -1
402 139 1 402 139 1 402 589 -1 403 593 -1
404 573 1 404 589 -1 405 165 1 405 408 1
405 604 1 405 606 -1 406 249 1 406 594 -1
407 344 1 407 497 1 407 613 -1 408 265 1
408 586 1 408 595 -1 409 166 1 409 206 1
409 348 1 409 389 -1 410 601 -1 411 410 1
411 581 1 411 601 -1 412 611 -1 413 608 -1
414 587 -1 415 367 1 415 603 -1 416 202 1
416 563 1 416 570 1 416 585 -1 417 587 -1
418 578 -1 419 578 -1 420 586 -1 421 585 -1
422 582 -1
;
title 'Valve Seat Data';
symbol v=dot h=.6;
proc reliability;
unitid id;
mcfplot days*value(-1) / cgrid = blue
ctext = red
ccensor = cyan
cframe = ligr ;
inset / cfill = yellow ;
run;