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
Within estimator estimateI have the following equation: Array in my data I have year and Id I want to get the within the pa…
three way panel data regression with fixed effects and clustered error termHi! I want to do a regression on panel data, the data consists of a bank (subscript i), in a countr…
Poisson command on panel datawhen i run the following commnad xtpqml lexp_food year mig_stats_16 mig_stats_yr sex sector edu_hh e…
Repeated time values within panel when declaring Panel DataHi all, I have a panel data on bilateral trade volume of 55 country pairs for 15 years time period …
Querying multiple variables at a timeHi everyone, I am working in a database where each patient has fifteen procedure variables: proc1 pr…
Subscribe to:
Post Comments (Atom)
0 Response to Controlling for confounders in t-tests
Post a Comment