BookmarkSubscribeRSS Feed
sasphd
Lapis Lazuli | Level 10

Hello,

I have the distribution of two variables A and B. I want to test the equality of A and B in the percentile 10.

4 REPLIES 4
Ksharp
Super User

May be you should check the fourth example of proc freq .for the Equality Test.

tables hair/binomial (equiv p=.2 margin=.1);

Xia Keshan

PaigeMiller
Diamond | Level 26

I don't see how this answers the question

--
Paige Miller
StatDave
SAS Super FREQ

If your purpose is to compare two distributions of a variable is the same across different groups, this can be done using the EDF option in PROC NPAR1WAY.  See the example titled "EDF Statistics and EDF Plot" in the NPAR1WAY documentation.

Rick_SAS
SAS Super FREQ

Are you trying to assess whether the 10th percentiles of two groups are the same?  Here is a blog (that uses R) that contains some references to the literature: http://freakonometrics.hypotheses.org/4199

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!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 1636 views
  • 0 likes
  • 5 in conversation