# "Matching" with cross-sectional studies: are the samples dependent?

I am comparing the prevalence of disease in participants of two separate cross-sectional surveys. One survey is from a group of prisoners and the other is from the general population.

To account for differences in age and sex, I randomly selected members of the general population survey from age and sex groups to match the prisoners.

To illustrate what I mean, imagine I was just matching by sex. The prisoner sample includes 900 men and 100 women. I would divide the general population sample into men and women, and then randomly select 9x the number from the male group as the female group at a certain ratio - e.g. 2700 men and 300 women if the ratio was 3:1.

I used this approach within all of the age/sex groups, maintaining the same ratio so that the two samples had the same age/sex profile.

I understand that for some matched or paired designs, it is necessary to account for the dependence of the samples in the analysis. Does this apply in this case?

Many thanks