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.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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