//
//conjoint analysis command
//
//This command is use to conjoint analysis for effecient factor.
//
//(Quation)
//This analysis needs two type data with different target type;
//See Example 1 or 2;
//Syntax
//target is ranking integer. and value of variables is boolean (0/1).
//variables are selection data. target is rank.
conj variables by target;
//target is category. and value of variable is ranking integer.
conj variables by target;
//Options
//Example 1
//Travel Items makes rank as follow.
hand shoping hotSpring food bus train rank/
1 0 0 1 0 1
0 1 0 0 1 6
0 0 1 1 0 3
1 0 0 0 1 2
;
put cojoint1;
conj shoping hotSpring food bus train by rank;
get freq@ana;
transpose;
plot bar col_1 by _items_;
//Example 2
//Travel ranking which has cross of days and place.
hand place day6 day10 day14/
europa 7 2 1
usa 9 6 4
hawaii 8 4 3
;
conj day6 day10 day14 by place;
get freq@ana;
transpose;
plot bar col_1 by _items_;