turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- Analytics
- /
- Stat Procs
- /
- test the equality of two variables

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

11-06-2014 12:39 PM

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.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to sasphd

11-07-2014 09:27 AM

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

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Ksharp

11-07-2014 10:16 AM

I don't see how this answers the question

--

Paige Miller

Paige Miller

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to sasphd

11-07-2014 10:18 AM

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.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to sasphd

11-07-2014 11:54 AM

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