Hi all,
I'm a little stuck on a paper looking at differences in fasting glucose levels between different ethnic groups. We have collected data on ethnicity and glucose as well as several possible confounders (BMI, smoking status (expressed as 1/0), energy expenditure in avg week). Using various regression techniques and ttests i have determined that bmi is a considerable confounder with strong links to both fasting blood glucose level and the white european subset of my study. I would like to run a t-test along the lines of: ttest fast_glucose, by(eth) but then somehow make it regress for bmi.
Is there a command to do this in stata or am i using the wrong statistical analysis?
Any help appreciated,
David
Related Posts with Controlling for confounders in t-tests
Individual tables using esttab/estoutHi, I've now been searching around for quite some time but am just not able to find answers to my sp…
effect of treatment in a three arm studyDear Statalist. I have a dataset from a three arms study (one of the arms is control, and the other…
Making the first row become Variable Names and Transposing the dataHello, How can I make the first row of observations become the Variable name? I would also like to…
Can not replicate what teffects ipw is doingHi, I want to compute ate and atet using inverse probability weighting (ipw). So I use a Stata exa…
How to change string data to numeric data in StataDear Statalist community, I'm currently trying to merge two different datasets. I receive the follo…
Subscribe to:
Post Comments (Atom)
0 Response to Controlling for confounders in t-tests
Post a Comment