A study was designed to compare two energy drink commercials. Each participant was shown the commercials in random order and asked to select the better one. Commercial A was selected by 45 out of 100 women and 80 out of 140 men.
Conduct a test for checking that the proportions of women and men that liked commercial A are the same versus the two-sided alternative at the 5% level.