Add a plot of adherence.

communication
junos 2021-06-08 22:42:56 +02:00
parent 9cba88a6e3
commit 151bbfe360
1 changed files with 6 additions and 0 deletions

View File

@ -84,6 +84,12 @@ df_adherence = df_adherence.merge(df_participant_finished_sessions, how="left",
# %% tags=[]
df_adherence
# %%
df_adherence.describe()
# %%
sns.displot(df_adherence["finished_sessions"], binwidth=5, height=5)
# %%
lm_adherence = smf.ols('finished_sessions ~ C(gender) + C(startlanguage) + age', data=df_adherence).fit()
table = sm.stats.anova_lm(lm_adherence, typ=2) # Type 2 ANOVA DataFrame