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

In proc transpose and data step with arrays which one you pick?

3175


how will you locate the sas platform applications? : Sas-bi

1083


Approximately what date is represented by the SAS date value of 730?

1270


Describe the ways in which you can create a macro variable?

1132


Mention some common errors that are usually committed in sas programming.

1105


how many display types available in sas bi dashboard? : Sas-bi

1143


Differentiate between proc means and proc summary.

1104


What are types of transport files?

8086


How sas treats the dsd delimiters?

1264


Define run-group processing?

1095


What is PDV?

1206


describe the interaction table in sas di? : Sas-di

1076


what is data access? : Sas-di

1178


what is operational data and operational system? : Sas-di

1158


If money were no object, what would you like to do?

3235