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
- /
- What test to use to compare non-parametric continu...

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

01-26-2015 12:00 AM

I am not sure what test to use to compare continuous variable which is not nominal. ttest doesnt work as it only works on nominal data. I know npar1way wilcoxon works , but how to incorporate

strata, cluster and weight of the data-sample? I am talking about complex data like NIS (national inpatient sample) or NHANES. I will really appreciate the help!

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

Posted in reply to San123

01-26-2015 01:44 AM

"but how to incorporate strata, cluster and weight of the data-sample?"

You are talking about ANOVA analysis , two levels for ttest or wilcoxon , multi-levels for ANOVA , otherwise you are going to make multi-compare error.

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

Posted in reply to Ksharp

01-26-2015 02:29 AM

HI Xia,

let me clearify further.

i am creating 2 samples. And I am trying to compare the difference in mean age between these 2

samples. i found out that distribution of age is not nominla( as per the histogram from UNIVARIATE).

So ttest doesnt work. I think Npar1way Wilcoxon will work. But I am not sure how to use it since the data is a complex survey data with strata, cluster and weights. So should we incorporate them as other commands like Surveyfreq, surveylogistic or surveyreg (but it npar1way doesnt allow that though) or just do ignoring the complxities of the data?

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

Posted in reply to San123

01-26-2015 11:36 AM

Are interested in testing the hypothesis that the mean of your data is different from a reference value or are you worried about your distribution being different?

Any is your data a complex sample or just the NHANES or NIS?

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

Posted in reply to ballardw

01-26-2015 03:27 PM

To use a nonparametric approach to a well-behaved endpoint such as age is like trying to bicycle around the planet. It can be done, but there are much better ways to travel. I would urge you to look at SURVEYREG, if you wish to compare more than two groups, or SURVEYMEANS for two-group or complex sampling designs.

Steve Denham

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

Posted in reply to SteveDenham

01-28-2015 11:28 AM

STeve: you are right. I did talk with my statistician in my institution.

She also suggested using Surveyreg.

Its very hard to use non-parametric tests in complex survey data.