how do we get duplicate observations in a separate dataset?
Answer Posted / natrajboga
use the dupout= and nodupkey options in proc sort and
followed by BY statemet with list of vars
proc sort data=xxx dupout=dup_xxx nodupkey;
by var1;
run;
/* see the log window */
proc print data=dup_xxx;
run;
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.
Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks
What is the purpose of _character_ and _numeric_?
Do you need to know if there are any missing values?
In ARRAY processing, what does the DIM function do?
What are the difference between the sas data step and sas procs?
what are several options for creating reports in web report studio? : Sas-bi
what is factor analysis? : Sas-administrator
How can you create a macro variable with in data step? : sas-macro
explain the use of % includes a statement in sas? : Sas-administrator
What makes sas stand out to be the best over other data analytics tools?
What does the RUN statement do?
Explain how you can debug and test your SAS program?
What do the SAS log messages "numeric values have been converted to character" mean?
Have you ever used the SAS Debugger?