Today’s CQ’s will work like exercises. You will be practicing using the
infer library to perform hypothesis tests. The tests we will perform are:
In order to study gender bias in promotion decisions, researchers took 48 resumes and randomly assigned them to 48 bank managers who were asked whether they would promote this candidate or not. The resumes were identical except the name: 24 of them had names generally associated with women, 24 of them had names generally associated with men.
The data from this study can be found in the
promote data frame. Use this data to determine whether gender played a role in promotion decisions.
generate()step and then make the plot).
In the 2016 NBA season, it was noted that professional basketball player Steph Curry had a remarkable basket-shooting performance beyond 30 feet. The
currydata frame contains his long range shooting performance across 27 attempts. By comparison, the long range shooting percentage of NBA players that season was 7.5%.