Kom igångKom igång gratis

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?

Den här övningen är en del av kursen

Experimental Design in Python

Visa kurs

Interaktiv övning med praktiskt arbete

Gör teori till handling med en av våra interaktiva övningar

Starta övningen