*DO file for MHM paper use meniscus_mhm_dataset, clear *attend school during menstruation tab menchnga *Menstruation is main reason for missing school among those who missed at least 1 day in last month tab misreamn if dmiss_anybin==1 tab misreamn_cat if dmiss_anybin==1 *gen agegroup2=age *recode agegroup2 min/14=0 15/max=1 *gen schooltype=schcode *label define schooltype 0 "Government" 1 "Private" *recode schooltype 11/12=0 24/26=1 *label values schooltype type logistic dmissbin agegroup2 i.relgp i.tribecat i.ses_urbangp i.malive *QE102 - how many days of school have you missed in the last month because of menstruation tab missdays_last tab dmissbin logistic dmissbin agegroup2 i.schcode i.relgp i.tribecat i.ses_urbangp i.malive ********* *Table 1 ********* ***Socio-demographic characteristics by school tab schcode tab schtype schcode, col nokey chi tab agegroup3 schcode, chi nokey *Mean age by school tabstat age, by(schcode) stat(n mean sd) //Mean age by school foreach x of varlist schtype agegroup4 relgp tribecat orphan meducgp feducgp mlive flive hwater anytoi { tab `x' schcode, col chi nokey } *Median household size by school tabstat hholdt, by(schcode) stat(n median min q max) //Median hhsize by school *Table 2 *restricts to girls who have started menstruating drop if mens!=1 *Definition of adequate MHM - using manufactured pads or tampons and not other methods *gen menuse_adequate1=1 if (menuselasth==1 | menuselasti==1 | menuselastj==1) & (menuselasta!=1 & menuselastb!=1 & menuselastc!=1 & menuselastd!=1 & menuselaste!=1 & menuselastf!=1 & menuselastg!=1 & menuselastk!=1 & menuselastl!=1) *replace menuse_adequate=0 if menuselasth==0 & menuselasti==0 & menuselastj==0 foreach x of varlist menuselasti menuselastj menuselasth menuselastc menuselastd menuselaste menuselastf menuse_adequate menchang_cat menaccidt outstain menwash { tab `x' schcode, col chi } foreach x of varlist washhome sandrya washare { tab `x' schcode if menwash==1, col chi m } foreach x of varlist sandispuse sanchosa sanchosb sanchosc sanchosd sanchose localtry { tab `x' schcode if menuselfi==1, col m tab `x' schcode if menuselfi==1, col } ************** *Table 3 ************** tab missdays_last recode tribecat 18=. foreach x of varlist schtype agegroup4 relgp tribecat orphan meducgp { tab `x' missdays_last, row chi logistic missdays_last i.`x' est store a qui logistic missdays_last if `x'<=19 lrtest a } *Multivariable model logistic missdays_last i.agegroup4 i.schcode i.tribecat i.meducgp *age and ethnicity are independnelty associated logistic missdays_last i.agegroup4 i.schcode i.tribecat foreach x of varlist menamt menchang_bin menuselasti menuselasth sandispuse_daily headache cramps bpains menuse_adequate { tab `x' missdays_last, row logistic missdays_last i.`x' agegroup4 i.schcode i.tribecat est store a qui logistic missdays_last agegroup4 i.schcode i.tribecat if `x'!=. lrtest a } logistic missdays_last ib2.menamt agegroup4 i.schcode i.tribecat