MATLAB Answers

T-Test with covariates?

41 views (last 30 days)
ShaneS
ShaneS on 25 Jun 2018
Answered: Anton Semechko on 25 Jun 2018
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.

  0 Comments

Sign in to comment.

Answers (1)

Anton Semechko
Anton Semechko on 25 Jun 2018
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.

  0 Comments

Sign in to comment.

Tags