Question: 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.

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!