Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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.

1885


Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks

2264


What is the purpose of _character_ and _numeric_?

1073


Do you need to know if there are any missing values?

1047


In ARRAY processing, what does the DIM function do?

1183


What are the difference between the sas data step and sas procs?

1195


what are several options for creating reports in web report studio? : Sas-bi

1164


what is factor analysis? : Sas-administrator

1110


How can you create a macro variable with in data step? : sas-macro

1053


explain the use of % includes a statement in sas? : Sas-administrator

1013


What makes sas stand out to be the best over other data analytics tools?

1082


What does the RUN statement do?

1313


Explain how you can debug and test your SAS program?

1022


What do the SAS log messages "numeric values have been converted to character" mean?

1390


Have you ever used the SAS Debugger?

1769