BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I'm a new user of the EG4.1, so maybe there is a trivial solution to my problem, but I couldn't find it.

I'm trying to define qunatiles (let's say 20 quantiles) of a variable in a data set. I found that it can be easily done with "RANK" task.

However, my problem is that I'm using a sample where all the observations are weighted with frequency weights. Therefore, to obtain quantiles representative of my population, I have to indicate in some manner that I want to construct my quantiles taking into account these weights.

Appearently, the "Rank" task doesn't allow for this.

Does anybody know if there is a way in EG4 to define quantiles using weights?

Thank you!
1 REPLY 1
BruceBrad
Lapis Lazuli | Level 10

Proc univariate does this.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 591 views
  • 0 likes
  • 2 in conversation