print("running first example")
compare_dv_models(pred_formula = toxicity_pred ~ funny*white,
- outcome_formula = toxicity_coded ~ funny*white, proxy_formula,
+ outcome_formula = toxicity_coded ~ funny*white,
proxy_formula = toxicity_pred ~ toxicity_coded*funny*white,
df=df,
sample.prop=0.01,
print("running second example")
compare_dv_models(pred_formula = toxicity_pred ~ likes+race_disclosed,
- outcome_formula = toxicity_coded ~ likes + race_disclosed, proxy_formula,
+ outcome_formula = toxicity_coded ~ likes + race_disclosed,KKJ
proxy_formula = toxicity_pred ~ toxicity_coded*likes*race_disclosed,
df=df,
sample.prop=0.01,