Question: If I have a SAS data set SURVEY which uses missing value codes of-1 for variables X1-X100,99 for variables Y1-Y50, and the literal string 'NO
If I have a SAS data set SURVEY which uses missing value codes of-1 for variables X1-X100,99 for variables Y1-Y50, and the literal string 'NO DATA' for the character variables A, B, C, D, and E. How can I Use arrays to replace these missing values with standard SAS missing values.
in Joining data in thebuyers and sellers datasets to retain only complete data, (using an inner join on buyers) Merge by the variable address. Call the output merged.
PROC SORT Data = Buyers; BY Address;RUN;PROC SORT Data = Sellers; BY Address;RUN;*what will be the missing linesPROC CONTENTS Data = Merged;RUN;In
PROC SORT Data = Buyers; BY Address;
RUN;
PROC SORT Data = Sellers; BY Address;
RUN;
* the missing lines
PROC CONTENTS Data = Merged;
RUN;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
