Examples (ORTHOPLAN command)
ORTHOPLAN FACTORS=SPEED 'Highest possible speed'
(70 '70 mph' 100 '100 mph' 130 '130mph')
WARRANTY 'Length of warranty'
('1 year' '3 year' '5 year')
SEATS (2, 4) /MINIMUM=9 /HOLDOUT=6 /OUTFILE='CARPLAN.SAV'.
- The
FACTORS
subcommand defines the factors and levels to be used in building the file. Labels for some of the factors and some of the levels of each factor are also supplied. - The
MINIMUM
subcommand specifies that the orthogonal plan should contain at least nine full-concept cases. -
HOLDOUT
specifies that six holdout cases should be generated. A new variable, STATUS_, is created byORTHOPLAN
to distinguish these holdout cases from the regular experimental cases. Another variable, CARD_, is created to assign identification numbers to the plan cases. - The
OUTFILE
subcommand saves the plan that is generated byORTHOPLAN
as a data file so that it can be used at a later date withCONJOINT
.
Example: Appending Plan to the Working File
DATA LIST FREE /SPEED WARRANTY SEATS.
VALUE LABELS speed 70 '70 mph' 100 '100 mph' 130 '130 mph'
/WARRANTY 1 '1 year' 3 '3 year' 5 '5 year'
/SEATS 2 '2 seats' 4 '4 seats'.
BEGIN DATA
130 5 2
130 1 4
END DATA.
ORTHOPLAN
/OUTFILE='CARPLAN.SAV'.
- In this example,
ORTHOPLAN
appends the plan to the active dataset and uses the variables and values that were previously defined in the active dataset as the factors and levels of the plan. - The data between
BEGIN DATA
andEND DATA
are assumed to be simulation cases and are assigned a value of 2 on the newly created STATUS_ variable. - The
OUTFILE
subcommand saves the plan that is generated byORTHOPLAN
as a data file so that it can be used at a later date withCONJOINT
.