from lib.outcome_index.outcome_index import OutcomeIndex #indices used during stratification for treatment assignment. We construct these outside the main index construction function # because the main function normalizes on the control group values at endline. stratification_indices = ["RestrictionIndex","AddictionIndex"] index_class_dict ={ "RestrictionIndex" : OutcomeIndex(name="RestrictionIndex", pos_outcomes=["InterestInLimits"], neg_outcomes=["IdealUseChange"], moderators=[]), "AddictionIndex": OutcomeIndex(name="AddictionIndex", pos_outcomes=["AddictionAvg",], neg_outcomes=["LifeBetter"], moderators=[]), }