Question: Use the random sampling, empirical distribution, Sample comparison, bootstrap, hypothesis testing A/B testing we discussed in the class to analyze the income gap between female

 Use the random sampling, empirical distribution, Sample comparison, bootstrap, hypothesis testing

Use the random sampling, empirical distribution, Sample comparison, bootstrap, hypothesis testing A/B testing we discussed in the class to analyze the income gap between female and male employe . Select a sample from the population. Make sure your sample include 500 employees selected from ulation, and consider how to ensure the sampling strategy is fair since the datasets include ove male employees than female employees (1 point). . Define test statistic, null hypothesis and alternative hypothesis (1 point). . Draw the income histogram for the sample, calculate the median income of the sample, and dot and a yellow dot of the female median income and male median income of the population, re in the histogram (1 point). . Draw the histogram of the test statistic of the sample, and draw a red dot to show the correspo statistic of the population (e.g. the difference of the median incomes between female and male in the diagram (1 point). . Write a procedure to use bootstrap to produce at least 5000 samples (1 point). . Draw the histogram of the test statistic of the bootstrap samples (1 point). . Define confidence interval and P-value to validate the hypothesis you defined (2 points)

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 Mathematics Questions!