API ReferenceModule

shared

causalis.shared

Overview and index for the causalis.shared module.

causalis.shared

Modules
Classes
  • SRMResult – Result of a Sample Ratio Mismatch (SRM) check.
Functions
  • check_srm – Check Sample Ratio Mismatch (SRM) for an RCT via a chi-square goodness-of-fit test.
  • outcome_plot_boxplot – Prettified boxplot of the outcome by treatment.
  • outcome_plot_dist – Plot the distribution of the outcome for each treatment on a single, pretty plot.
  • print_sutva_questions – Print the SUTVA validation questions.