Monday, August 28, 2006

Metric Conjoint Analysis

data choc;

input Chocolate $ Center $ Nuts $& Rating;

datalines;

Dark Chewy Nuts 7
Dark Chewy No Nuts 6
Dark Soft Nuts 6
Dark Soft No Nuts 4
Milk Chewy Nuts 9
Milk Chewy No Nuts 8
Milk Soft Nuts 9
Milk Soft No Nuts 7

;

run;

ods exclude notes mvanova anova;
proc transreg utilities separators=", " short;
title2 "Metric Conjoint Analysis";
model identity(rating) = class(chocolate center nuts / zero=sum);
run;

proc gplot;
title h=1.5 "Preference for Chocolate Candies";
title2 h=1 "Nonmetric Conjoint Analysis";
plot trating * rating = 1 / frame haxis=axis2 vaxis=axis1;
symbol1 v=plus i=join;
axis1 order=(1 to 10)
label=(angle=90 "Transformation of Rating");
axis2 order=(1 to 9) label=("Original Rating");
run; quit;

No comments: