I have a longitudinal data set of pregnant women nested within trimesters. We measured biomarkers of toxicant exposure, for example toluene (bzma_im below). I examined the means using xtsum without any issues. A colleague recommended that I examine geometric means instead. I see there is a command, ameans. Is there an equivalent for longitudinal data? I have not been able to find one. Thank you.
Code:
* Example generated by -dataex-. For more info, type help dataex clear input long pid float(trimester bzma_im) 7511014 1 . 7511014 2 23.1728 7511014 3 22.2623 7511015 1 . 7511015 2 24.3935 7511015 3 35.6095 7511016 1 3.4852 7511017 1 . 7511017 2 4.6753 7511017 3 3.2963 7511018 1 . 7511018 2 . 7511018 3 12.88 7511019 1 . end
Comment