Hello ... everyone. I'm a beginner at using SAS. I need help with the problem I am facing with the data process I am doing. I have 900,000 observations without duplication of data, where this data consists of the variables id, id_sex, visit date, disease (which I have processed so that it will contain yes or no, 1/0). From this data I want to try to make a comparison with a certain percentage and use simple random sampling without replacement with the following comparison and desired results: F --- 20% -------> F F --- 80% ------->M M --- 20% ------->M M --- 80% ------->F and the expected results table is like this: Gender Yes No F ……. % ……. % M ……. % ……. % Could anyone help me, please? Thank you for your kindness. Regards,
... View more