The file P09_51.xlsx contains data on 1000 randomly selected Walmart customers. The data set includes demographic variables
Question:
a. A lookup table in the file suggests a way to categorize the salaries. Use this categorization and chi square tests of independence to see whether Salary is independent of
(1) Age,
(2) Gender,
(3) Home, or
(4) Married.
Discuss any types of dependence you find.
b. Repeat part a, replacing Salary with Amount Spent. First you must categorize Amount Spent.
Create four categories for Amount Spent based on the four quartiles. The first category is all values of Amount Spent below the first quartile of Amount Spent, the second category is between the first quartile and the median, and so on.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Data Analysis and Decision Making
ISBN: 978-0538476126
4th edition
Authors: Christian Albright, Wayne Winston, Christopher Zappe
Question Posted: