Suppose I am doing a Case control study. Lets say Group 1 is a clinical population (N=30), Group 2 is a healthy control population (N=30). I have measured various variables (Continuous data) in both the groups, and using t-test I have found the difference between the two groups. Now, suppose I want to find relationship between the two variables, can both the groups be clubbed together (N=60), or do I do separate correlation analysis for each group?
For Example: If "satisfaction with life" and "quality of life" are research variables in two groups, specifically Patients with anxiety vs Healthy control. I can get continuous data for both these variables using a questionnaire, and I can do a t-test and establish if there is a difference in satisfaction with life and quality of life between these two groups. Now, if I want to know the association between satisfaction with life and quality of life, can I club both patient group and healthy control group together? If yes, is it applicable always, or, are there some conditions? Please explain as my research question is different, and I have just given an example here.