How can i resolve this issue?
Below is the code i used to generate _bin_ values which is generating same value for a one specific visit.
proc freq data= adeffimp01 ;
by _imputation_ &trt. &trt.n avisitn avisit;
tables aval/ binomial;
exact binomial;
output out = i_bin bin;
run;
Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.