1. Homepage
  2. Programming
  3. ISE 535 Data Mining - Homework 3: Segment and Brands

ISE 535 Data Mining - Homework 3: Segment and Brands

Engage in a Conversation
USUSCUniversity of Southern CaliforniaISE 535Data MiningR

ISE 535 Data Mining

Homework 3 CourseNana.COM

1 (40 pts) The file segment.csv has data from a survey to 300 customers and potential customers from a company offering a subscription service. It includes the age, gender, income, number of children, whether they own or rent their homes, and whether they currently subscribe to the service or not. It is of interest to know whether clients are just as likely to subscribe or not without regard to home ownership. a) Construct a single two-way crosstab table to count the number of individuals that are subscribers (or not) and are home owners (or not). b) Test if the proportion of subscribers is the same between home owners and home renters. CourseNana.COM

2 The file brands.csv has ratings from some perceptual attributes on a set of brands labeled as a,b,...,j. The data comes from a survey to 100 customers. The attributes are as follows. CourseNana.COM

Perceptual attribute Example
perform Brand has strong performance
leader Brand is a leader in the field
latest Brand has the latest products
fun Brand is fun
serious Brand is serious
bargain Brand products are a bargain
value Brand products are a good value
trendy Brand is trendy
rebuy I would buy from Brand again

a) (10 pts) Find the average rating of each brand on each attribute and store it in dataframe df1. Let column brand be the rownames of df1 CourseNana.COM

rownames(df1) = df1$brand df1$brand = NULL CourseNana.COM

b) (10 pts) Display a heatmap using the average ratings from df1 using the following commands CourseNana.COM

library(gplots) library(RColorBrewer) heatmap.2(as.matrix(df1),col=brewer.pal(9, "GnBu"), trace="none", key=FALSE, dend="none",main="Brand attributes") CourseNana.COM

What brands are highly rated on attributes leader, and serious? c) (10 pts) Scale the brands data to find principal components (call prcomp1 the resulting object). How many principal components explain at least 80% of the variation in the customer’s brand ratings? Display a lineplot of the Cumulative PVEs. d) (10 pts) Construct a biplot from prcomp1 e) (10 pts) Find principal components from df1. Use prcomp2 = prcomp(df1,scale=T). f) (10 pts) Construct a biplot from prcomp2. This is called a perceptual map of the brands. It helps answer the question What is the average position of the brand on each attribute? What brands are highly rated on attributes leader, and serious? Which are highly rated on bargain, and value? CourseNana.COM

Submit your report (code and output) as a pdf file onto Blackboard (no screen captures). CourseNana.COM

Get in Touch with Our Experts

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
US代写,USC代写,University of Southern California代写,ISE 535代写,Data Mining代写,R代写,US代编,USC代编,University of Southern California代编,ISE 535代编,Data Mining代编,R代编,US代考,USC代考,University of Southern California代考,ISE 535代考,Data Mining代考,R代考,UShelp,USChelp,University of Southern Californiahelp,ISE 535help,Data Mininghelp,Rhelp,US作业代写,USC作业代写,University of Southern California作业代写,ISE 535作业代写,Data Mining作业代写,R作业代写,US编程代写,USC编程代写,University of Southern California编程代写,ISE 535编程代写,Data Mining编程代写,R编程代写,USprogramming help,USCprogramming help,University of Southern Californiaprogramming help,ISE 535programming help,Data Miningprogramming help,Rprogramming help,USassignment help,USCassignment help,University of Southern Californiaassignment help,ISE 535assignment help,Data Miningassignment help,Rassignment help,USsolution,USCsolution,University of Southern Californiasolution,ISE 535solution,Data Miningsolution,Rsolution,