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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 531 views
  • 0 likes
  • 2 in conversation