In the survey, I have 1000 answers and 70% of respondents answered Yes. Now I take answers only for a specific subset of this group- let's say, men. For example, out of 1000 people, there are 400 men and this subset have 60% of positive answers. What I want to know is - whether answers of this subset are significantly different.

I tried to find the proper test but mostly samples need to be independent...

I don't know if I should use some proportion test or whether I can consider 1000 people as population etc... I am really new to statistics so probably I am asking bad questions, but will appreciate pointing me in the right direction.

Thanks for any help.