Hello,
I am running a model in SEM (stata version 13) to examine the association between month of birth and birthweight (controlling for several other variables).
Example:
sem (bweightcor <- bage_d gestage bsex mheightavg parity bm1-bm12 bm14-bm15 )
where bm1-bm12 bm14-bm15 represent the dummy variables for each of the 15 months (in this case month 13 is used at the reference).
I would like to use lincom to test whether any of the mean monthly birth weights (15 months) are different than the overall mean birthweight, but am unsure how to specify this when I have a series of dummy variables in the model (as opposed to the i.birthmonth which does not appear to work in SEM) I would greatly appreciate if someone could help me out with this!
Thanks!
Emily
I am running a model in SEM (stata version 13) to examine the association between month of birth and birthweight (controlling for several other variables).
Example:
sem (bweightcor <- bage_d gestage bsex mheightavg parity bm1-bm12 bm14-bm15 )
where bm1-bm12 bm14-bm15 represent the dummy variables for each of the 15 months (in this case month 13 is used at the reference).
I would like to use lincom to test whether any of the mean monthly birth weights (15 months) are different than the overall mean birthweight, but am unsure how to specify this when I have a series of dummy variables in the model (as opposed to the i.birthmonth which does not appear to work in SEM) I would greatly appreciate if someone could help me out with this!
Thanks!
Emily
Comment