File size: 648 Bytes
8a79f2e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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=[]),

}