BookmarkSubscribeRSS Feed
Rene
Calcite | Level 5
Dear users,

I set up a conjoint design with 4 attributes, each with 3 levels. Now I gathered my data I want the part-worths of the 4 attributes AND of all levels individually. My problem is that i don't know how i can generate the part-worths of all levels individually (12 in total). I managed to generate the part-worths of the attributes (price, service, assortment and quality) with the code underneath. What code is needed to generate the part-woths of the individual levels?

Thanks in advance!
____________________________________________________________________
data MVO;
input subj set c price service assortment quality @@;
datalines;
1 1 2 1 3 3 2
1 1 1 3 2 1 3
1 2 2 1 3 1 2
1 2 1 2 1 3 1
1 3 1 2 2 1 2
1 3 2 3 3 2 1
1 4 1 2 3 1 1
1 4 2 1 1 2 3
1 5 1 3 2 2 2
1 5 2 1 1 1 3
1 6 2 1 2 2 1
1 6 1 3 1 3 2
1 7 2 2 1 2 2
1 7 1 3 3 3 3
1 8 2 3 1 1 1
1 8 1 2 2 3 3
1 9 1 2 3 2 3
1 9 2 1 2 3 1
2 1 1 1 3 3 2
2 1 2 3 2 1 3
2 2 2 1 3 1 2
2 2 1 2 1 3 1
2 3 1 2 2 1 2
2 3 2 3 3 2 1
2 4 2 2 3 1 1
2 4 1 1 1 2 3
2 5 2 3 2 2 2
2 5 1 1 1 1 3
2 6 2 1 2 2 1
2 6 1 3 1 3 2
2 7 2 2 1 2 2
2 7 1 3 3 3 3
2 8 1 3 1 1 1
2 8 2 2 2 3 3
2 9 1 2 3 2 3
2 9 2 1 2 3 1
;

proc print data=MVO noobs;
var subj set c price service assortment quality;
run;


proc phreg data=MVO outest=betas;
strata subj set;
model c*c(2) = price service assortment quality / ties=breslow;
run;
1 REPLY 1
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Although I have no experience in this topic-area, I did find three hits on the SAS support website http://support.sas.com/ when using the following Google advanced search:

generate individual "part worths" site:sas.com

Hopefully one of these resources will be useful to your interest.

Scott Barry
SBBWorks, Inc.

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1232 views
  • 0 likes
  • 2 in conversation