T-Test with covariates?
显示 更早的评论
Hello MATLAB Experts,
I am trying to run a T-TEST between 2 groups, while taking into account age and gender as nuisance covariates. How can I go about doing that?
Thanks.
回答(1 个)
Anton Semechko
2018-6-25
0 个投票
In medical image processing application general linear model is often used to test null-hypotheses while accounting for covariates like age and gender. The idea there is fit linear multiple regression model to data, and then only perform t-tests on regression coefficients corresponding to the variables of interest.
类别
在 帮助中心 和 File Exchange 中查找有关 Resampling Techniques 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!