Question: Read the datasets into RStudio using the read.csv() function. Using the ggplot() function, create a stacked bar plot to display the proportion of males and

Read the datasets into RStudio using the read.csv() function. Using the ggplot() function, create a stacked bar plot to display the proportion of males and females among the admitted and rejected students at the university level. The plot should have two bars, one for admitted students and one for rejected students, in which the proportion of males and females are stacked. Both bars should be the same height since the proportion of males and females should add to 1 for admitted and rejected students respectively. Be sure to create visually appealing and appropriately labeled plots! Provide a few sentences of commentary about the plot created in 2 to answer the following questions. Are the proportions of males and females in the admitted and rejected student populations comparable? Does there appear to be a bias? Is there a cause for concern? What are some other factors that may influence and explain any discrepancy (if it exists)? Using the ggplot() function, create a stacked bar plot to display the proportion of males and females among the admitted and rejected students at the department level. The plot should have twelve bars one for admitted students and one for rejected students for each of the six departments, in which the proportion of males and females are stacked. All bars should be the same height since the proportion of males and females should add to 1 for admitted and rejected students respectively. Be sure to create visually appealing and appropriatel

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!