Clinical SAS Interview Question # 12 Last date??
Вставка
- Опубліковано 19 вер 2024
- How to find the last date of a month??. It is a ADam imputation rule as specific to study. Clinical interview topic #12 watch this video. For Real time clinical sas project training visit bit.ly/332CBng . For more interrelated concepts • Topics for All
Please subscribe my channel for more interview topics.
/ advancedsasinterviewto... - Наука та технологія
Good
Sir can explain about retain statment when data cantain group wise value missing then how will filup the values
Data ex1 ;
Infile cards missover;
Input id test res;
Cards;
101 rbc .
101 rbc 1000
101 rbc .
101 rbc 1300
101 wbc 2000
101 wbc 800
101 wbc 1600
101 wbc 1780
102 rbc .
102 rbc 1000
102 wbc 8000
102 wbc .
103 wbc 6000
103 rbc 100
103 rbc .
103 rbc 500
103 rbc 700
Run;
proc sort data=ex1 out=ex2;
by id test;run;
data ex3;
set ex2;
by id test;
retain base;
IF FIRST.test THEN DO;
BASE=.;
END;
IF res ne . THEN DO;
BASE=res;
END;
run;
good