Example

The following is a partial listing of the SAS data set used to create the Ishikawa diagram shown in Figure 8.15:

data ishplane;
   length _text1_ _text2_ _text3_ $ 40 _side_ $ 1;
   input  _level_ _text1_ & _text2_ & _text3_ & _relpos_ _side_;
   datalines;
0  Quality              Air Travel          Service  -1.00  .
1  Pre-Flight Service   .                   .         0.26  T
2  Competitive          fares               .         0.68  R
2  Convenient           departure times     .         0.18  R
2  Quick                ticketing           .         0.43  R
2  Frequent flier       courtesies          .         0.81  L
1  In-Flight Service    .                   .         0.61  B
2  Prompt               departures          .         0.21  R
2  Comfortable          seating             .         0.35  L
;

Note the structure of this data set:

  • The trunk (always the first observation) has a _LEVEL_ value of zero.

  • All subsequent observations for which _LEVEL_ is equal to one are branches that emerge from the trunk.

  • Observations 4 and 5 are both leaves that emerge from the preceding stem (observation 3).

  • Likewise, leaves 7 and 8 emerge from the preceding stem (observation 6).

You can use this data set as a way of extracting text and notepad information from the diagram.