Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Note: Please include both R codes and results in your report. (You may use the Compile Report function under Menu File in RStudio to generate

Note: Please include both R codes and results in your report. (You may use the "Compile Report" function under Menu "File" in RStudio to generate a Word/PDF report)

Question : Compare Groups (40 points)

Read the data marketing_campaign.csv in R. Assume the data is a random sample from a population and each row represents a customer, answer the following questions.

https://1drv.ms/x/s!Aocj0hn12M9m6nluf17ZIW-FpqSH?e=N3SQyJ

(a) Make a subset in which the variable Education only contains "Graduation", "Master" , and "PhD" values, and the variable Marital_Status only contains "Single" and "Married" values. Check how many observations left in the subset. Use the subset to answer the following questions.

(b) Which education group has the highest number of customers? Which education group has the highest marriage rate?

(c) Conduct a statistical test to explore whether the number of customers is the same across education groups. What is the null and alternative hypothesis? What is your conclusion based on the result?

(d) We'd like to know whether Marital_Status is related with Education. What is the null and alternative hypothesis? What is your conclusion based on statistical test?

(e) What is the marriage rate in general? Given the observed marriage rate, can we say that in the population the true marriage rate is 60%? Why?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Elementary Linear Algebra with Applications

Authors: Bernard Kolman, David Hill

9th edition

132296543, 978-0132296540

More Books

Students also viewed these Mathematics questions

Question

Where is the position?

Answered: 1 week ago

Question

Role of IT Security Professionals in Terms of Governance

Answered: 1 week ago