BookmarkSubscribeRSS Feed
zhou12a
Calcite | Level 5

I am performing an analysis comparing my data against an NHANES dataset.

I am interested in testing the difference in means between the two groups, stratified by two variables (gender and age).

My data is heavily right skewed, so I will need to use a non parametric approach.

 

However, my own data is not weighted, but NHANES's data is. 



How best would I go about performing this comparison?
Would I still be able to use proc surveyfreq or proc surveymeans?

1 REPLY 1
Reeza
Super User

You can always add weights of 1 to your data so you can treat them the same. That being said, I can't recall if NHANES uses a single weight or reps. 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1 reply
  • 1291 views
  • 0 likes
  • 2 in conversation