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?
This exercise is part of the course
Experimental Design in Python
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise