How do you create a table that contains the average age of workers broken down by union
Question:
How do you create a table that contains the average age of workers broken down by union and sector? A row of the table should be the average age for each sector of a particular union status. So, different union statuses should be rows, and different sectors should be columns.
Assuming you were going to select five rows from CPS85 at random, what is the probability that at least one of the rows would be a woman? Solve this problem using the rules of probability. Make sure the code for your solution would work if I gave you a new table with more rows added (of course, giving you new rows would also change the answer).
Assuming you were going to select five rows from CPS85 at random, what is the probability that at least one of the rows would be a woman? Solve this problem using simulation. Use 1000 "rounds of simulation"
How do you create a new table called CPS85_new, similar to the original CPS85, except where the values for the union variable are not_in_union and in_union.
Smith and Roberson Business Law
ISBN: 978-0538473637
15th Edition
Authors: Richard A. Mann, Barry S. Roberts