BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,
i want to delete observations by their frequency. I don't know if I need to do a proc freq and then to do the deletion base on the results...

Thanks,
1 REPLY 1
Olivier
Pyrite | Level 9
You can follow these steps :

1) create a query on your dataset
2) in the SELECT/SORT tab, keep all the columns you need at the end
3) in this tab, choose a value in the SIGMA drop-down list (just right to the check boxes) for the variable of which you want to use frequencies
4) drag and drop one more time this particular variable in the SELECT/SORT TAB, and give it a value in the SIGMA list
5) rename this last column COUNT
6) go to the GROUP FILTERS tab, and build a condition using the newly created COUNT variable (should be at the very bottom of the list on the left).

I hope it solves your problem.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 663 views
  • 0 likes
  • 2 in conversation