1. Learn
  2. /
  3. Courses
  4. /
  5. Experimental Design in Python

Connected

Exercise

Which was stratified?

You have been provided two DataFrames, df_1 and df_2. You can inspect them in the console. They contain the columns, 'salary', 'free_hours', and 'high_free_time' as well as two additional columns: 'Block' is which experimental block they have been allocated to, and 'T_C' is whether they have been allocated to treatment or control.


Which DataFrame is stratified with respect to the 'high_free_time' column?

Instructions

50 XP

Possible answers