REPAIR PLOT

Generates a plot of repair times where there may be
multiple groups and a censoring time for each group.

Description:

In reliability studies, it is often necessary to
analyze repair times. A first step in analyzing these
repair times is to simply plot the repair data.

The repair data consists of the following:

The repair times.

A system id corresponding to each of the repair
times.

If the test continued to run after the last failure
time, then a censoring time needs to be included.
Note that there should be at most one censoring time
for each system.

The Dataplot convention is to code the repair times
as 1 and censoring times as 0.

The vertical coordinate is the system id and the horizontal
coordinates are the repair/censoring times.

The appearance of the plot can be controlled by appropriate
settings for the LINE and CHARACTER commands. The traces
(i.e., curves) are defined as follows:

The first trace consists of all the repair times.
For this trace, the line setting is typically set to
a blank value while the character is set to some
non-blank value.

If there are N systems, traces 2 through N+1 correspond
to the repair and censoring times for each of these
systems. The line settings are typically set to a
non-blank value while the character settings are
typically set to blank.

A typical sequence of commands to set the character and
line settings would be

LINES SOLID ALL
CHARACTER BLANK ALL
LINE BLANK
CHARACTER *

The system id and censoring variables are optional. If you
specify a censoring variable, a group variable must be
given. If you have a single system with a censoring time,
simply create a variable the same length as the response
variable that has all values equal to 1. For example,

LET N = SIZE Y
LET GROUPID = 1 FOR I = 1 1 N

Syntax 1:

REPAIR PLOT <y> <x> <cens>
<SUBSET/EXCEPT/FOR qualification>
where <y> is a variable containing repair times;
<x> is a variable containing the group id's;
<cens> is a variable containing the censoring
values;
and where the <SUBSET/EXCEPT/FOR qualification> is optional.

This syntax is used to plot repair times for the case where
there multiple systems, but there are no censoring times.

Syntax 2:

REPAIR PLOT <y> <x>
<SUBSET/EXCEPT/FOR qualification>
where <y> is a variable containing repair times;
<x> is a variable containing the group id's;
and where the <SUBSET/EXCEPT/FOR qualification> is optional.

This syntax is used to plot repair times for the case where
there multiple systems, but there are no censoring times.

Syntax 3:

REPAIR PLOT <y>
<SUBSET/EXCEPT/FOR qualification>
where <y> is a variable containing repair times;
and where the <SUBSET/EXCEPT/FOR qualification> is optional.

This syntax is used to plot repair times for the case where
there is only a single system and there is no censoring time.