A question to the statistics savvy people on
I'm interested to evaluate whether a specific disease state manifests as imaging-derived parameter across a range of ages.
I have 2 samples (+disease/-disease) of about 500 subjects each, across a similar range of ages (40-70)
I played with the data and noticed that for younger subjects the said parameter does not significantly (ttest, p>.05) separates the 2 groups, while in older it does. I was wondering if there is a correct way to determine the critical age (or age range) in which an effect becomes significant. I used a sliding window (8 years) that showed the effect become significant from 47-55 age group onward. I am not sure that this is the correct approach as in the sliding window analysis the samples (i.e windows) are not independent.
Follow-up question – If I want to control for potential confounds such as different ratio of male/female in each sliding window, should I use a GLM?
Thanks in advance
Hope this leads to an interesting discussion.
Greg