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 to display duplicated observations in a data using base
sas.

Answer Posted / prakash hullathi

use frequency procedure with single column
data dups;
input var1;
datalines;
1
2
3
4
4
3
5
6
;
run;
proc freq data=dups;
tables var1/norow nocol nopercent;
run;


The output will be like this


var1 frequency cumulative frequency
1 1 1
2 1 2
3 2 4
4 2 6
5 1 7
6 1 8


here the observations for the variable var1 3 and 4 are
appered 2 times and remaining appeared for 1 time by
seeing the frequency of corresponding variable and
observation

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between informat and format?

1039


What is the difference between INPUT and INFILE ?

1236


how to change the execute of macro

2217


What are the table names in oracle database...?

2685


what is the Population you used in your project, is it ITT or PP?

2677


describe about metadata object? : Sas-di

1007


What is the difference between one to one merge and match merge? Give an example.

994


What are the features of SAS?

968


What would you change about your job?

2328


What are the features of base sas system?

1013


what is sas olap server? : Sas-di

1186


What is the difference between %local and %global? : sas-macro

1116


In sas, what are the areas that you are most interested in? : sas-grid-administration

1017


what is sas application server, database server, sas olap server and sas metadata server? : Sas-di

954


what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming

1175