It is possible to compare a variable, for example age, between an entire group of patients and a subgroup of patients (a part of the entire group)?
-
1$\begingroup$ You have to be more precise because it is not clear what you are asking. Compare what to what? Could you give an example? $\endgroup$– TimCommented Jan 23, 2015 at 9:47
-
1$\begingroup$ You mean like asking the question "is the mean age of patients suffering from Alzheimer's significantly different from the mean age of all patients in the hospital?"... sounds like a reasonable thing to compare to me $\endgroup$– DanCommented Jan 23, 2015 at 9:47
-
$\begingroup$ I have 221 patients that were evaluated in a study. From the entire population, 167 patients were also evaluated by echocardiography. I was wondering if the mean age (among other variables) was similar between the entire population and those who had also the ecocardiography. $\endgroup$– DimitrieCommented Jan 24, 2015 at 22:10
1 Answer
Yes you can.
However, I would think its only appropriate if you remove your subgroup from the "entire group" data such that they are independent measures.
Next I would also worry about the interpretation of the result. Is this leftover "entire group" really representative of something now that you've remove some subgroup of interest?
But to repeat, just in terms of "can you compare to groups' ages to one another"... Yes of course.
Under parametric assumptions a t-test will do just fine.
-
$\begingroup$ One could leave the subgroup in but take account of the dependence ... but the result would be the same as the (simpler) choice of removing the subgroup and comparing without having to deal with that source of dependence. $\endgroup$– Glen_bCommented Jan 23, 2015 at 16:44
-
$\begingroup$ Thank you for all the answers. I thought that this was the answer, but my problem was that, in my opinion, they were dependent. $\endgroup$– DimitrieCommented Jan 24, 2015 at 22:08
-
$\begingroup$ @Glen_b How can I consider the dependence of the group and subgroup in a, for example, a t-test? $\endgroup$– giordanoCommented Aug 24, 2015 at 12:49
-
$\begingroup$ @giordano As I explain above, the result is the same as just doing an ordinary t-test applied to the whole-without-the-subgroup vs the subgroup. $\endgroup$– Glen_bCommented Aug 24, 2015 at 15:07
-
$\begingroup$ @Glen_b That's clear. But I was not interested in the result but in how to cope with dependence, how to take account the dependence. $\endgroup$– giordanoCommented Aug 25, 2015 at 20:12