Desktop productivity for business analysts and programmers

Define quantiles using weights

Not applicable
Posts: 0

Define quantiles using weights

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!
Regular Contributor
Posts: 151

Re: Define quantiles using weights

Posted in reply to deleted_user

Proc univariate does this.

Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation