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
- /
- Distribution of Two Samples (Population)

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
- Highlight
- Email to a Friend
- Report Inappropriate Content

11-13-2014 12:54 PM

Hi Everyone,

I need a statistical test to show that the distribution of two samples are the same.

I was thinking I could probably test to see if both the distributions are normal or not but then it necessarily does not have to be a normal distribution and these could be any other distribution. So this might not work for my case.

Is there a way i could test that the distibutions are the same. Any code/examples will be very helpful.

Thank you,

PS.

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

11-13-2014 12:56 PM

Look at proc npar1way.

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

11-13-2014 01:30 PM

The Kolmogorov Smirnov test whether the two distribution-functions are the same in a nonparametric way.

this can be done with PROC NPAR1WAY with the KS-option. It also gives some some other test for the same hypothesis, but the Kolmogorov-Smirnov test are the most well-know.

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

11-14-2014 06:56 AM

Or test if their percentiles is equal or not .