I have a homework and I am being tasked with creating "sex specific quartiles". Here are the exact instructions Create sex-specific quartiles for the variables “zdelta_muac” and “zdelta_bmi” (using the “visitdata4” dataset) and call the new ranked variables “q4s_zdelta_muac” and “q4s_zdelta_bmi.” Output these results into a new temporary dataset called “visitdata5.” where zdelta_muac and zdelta_bmi are standardized variables. /*sex-specific quartiles*/ proc sort data=visitdata4; by sex; run; proc rank data=visitdata4 out=visitdata5; by sex; var zdelta_muac zdelta_bmi; ranks q4s_zdelta_muac q4s_zdelta_bmi; run; This is the code I have, but when I run this, it deletes a bunch of observations from visitdata4. How do I make this not happen
... View more