The accompanying unions and labor law data reports the percent of public and​ private-sector employees in unions in a certain year for each​ state, along with indicators of whether the states had a bargaining law that covered public employees or​ right-to-work laws. For all the​ tests, let population 1 be states with no bargaining laws and population 2 be states with bargaining laws.

Required:
a. Test the hypothesis that the percentage of employees in unions for both the public sector and private sector is the same for states having bargaining laws as for those who do not.
b. Test the hypothesis that the percentage of employees in unions for both the public sector and private sector is the same for states having right‐to‐work laws as for those who do not.