Code:
xtset ID time_point
Code:
xtmixed oucome c.exposure##i.time_point VAR_1 VAR_2 VAR_3 || ID:
i have TWO questions here:
1) i want percentage change in outcome as an output so for that i took log of the outcome variable and run the regression model with this log variable to obtain a % change in the dependen variable.
Code:
g ln_oucome=ln(oucome)
Code:
di (exp(coefficient)-1)*100
Am i making sense ?
2) I notice with time interaction i can have effect of exposure on outcome at diffrent time points. I dont know how to get average effect of exposure on change in dependent variable. I have upto 20 time_points and with each time points the percentage change increases. So i am looking for adjusted percentage change like " per unit increasse in exposure associated with NN % (95% CI NN - NN ) change.
TIA
0 Response to percentage change from baseline, Mixed model
Post a Comment