Accounting for confounders

In my data, I know that age and sex are confounders so I accounted for them using a linear regression.

Model<- lm(metabolite~Age+Sex)

Please how do I get the adjusted values for the metabolite for further analysis.

What do you mean by "adjusted values?" Do you want the residuals from the regression?

No, I meant after accounting for Age and sex, the results of the adjusted values of the metabolite for further analysis like t test and so on.

"Adjusted values" might mean many things. Can you define for us exactly what you're looking for?

I consulted a statistician and it has been confirmed that I can use the residual values for further analysis. Thanks.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.