Answered step by step
Verified Expert Solution
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 1: Compare Groups ( 30 points) Read the data marketing campaign.csv in R. Assume the data set is a random sample from a larger population and each row represents a customer, answer the following questions. (a) Create a subset named QI in which there are only single and married customers (MocitalaStatus). How many observations are left in the subset? Use the subset QI to answer the following questions. (b) Which education group (Education) has the most customers? Which education group has the highest marriage rate (Maritel Stetus)? (c) Conduct a statistieal test to explore whether the number of customers is the same across education groups. What are your null and altemative hypotheses? What is your conclusion? (d) We'd like to know whether MacitalaStatus is related to Education or not. What are your null and alternative hypotheses? What is your conclusion based on statistical test? (c) What is the marriage rate in general? Given the marriage rate observed in our sample, can we say that the true marriage rate in the population is 60% ? Why
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started