BookmarkSubscribeRSS Feed
jnet7
Calcite | Level 5

I have collected data on different furniture type purchases and feel that there may be some underlying correlations between the items chosen and the type of residence the consumer wants to furnish.

 

The items to choose from are couch, table, pillow, and chair. What I am assuming is that if the consumer has selected a couch, they are likely to choose a pillow as well. Similarly, if the consumer has selected a table, they are likely to purchase a chair. There is a chance that those needing a pillow will select a chair as well, but it is less likely. 

 

The types of residences the consumers are looking to furnish are either an apartment, house, or dormitory. Depending on the type of residence, I assume that only certain furniture is likely to be needed. For instance, a dormitory is less likely to need a couch as most dorms come furnished. An unfurnished apartment may need all furniture options. 

 

Which type of statistical analysis should be performed? I have data representing the frequency of each item purchased below:

 

ResidenceCouchTablePillowChair
Dorm30103212
Apartment103409934
House25112315

 

 

 

2 REPLIES 2
PGStats
Opal | Level 21

For a graphic representation of the relationship between furniture type and residence type, try correspondence analysis:

 

data have;
length Residence $16;
input Residence Couch Table Pillow Chair;
datalines;
Dorm 30 10 32 12 
Apartment 103 40 99 34 
House 25 11 23 15 
;

ods graphics / height=600 width=600;
proc corresp data=have deviation;
var couch -- chair;
id residence;
run;

Configuration plotConfiguration plot

 

Proximity on the graph indicates stronger correspondence.

PG
Ksharp
Super User

Or check Bayes Choice Model.

PROC BCHOICE 

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 2 replies
  • 368 views
  • 2 likes
  • 3 in conversation