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. 

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 1505 views
  • 0 likes
  • 2 in conversation