BookmarkSubscribeRSS Feed
smacdonald0
Calcite | Level 5

Is it possible to calculate standard errors for the quantiles of individual domains using the proc surveymeans procedure? In my output, I get standard errors for the overall  quantiles, but for the standard errors for the quantiles of the individual domains, I get zeros.

 

proc surveymeans data=midwest.mwanalysis nmiss min q1 mean q3 max stderr clm total=midwest.fpc;
strata region12 cycle;
cluster cluster;
domain yearcat*EP0203timecat*newagegrp;
var EP0203time;
weight pwtycrd;
run; 

1 REPLY 1
ballardw
Super User

You would be asking for errors associated with the interaction of all domains with your syntax. If you want each individual domain, or the 2 domain interactions, add them separately to the domain statement.

 

You may also have an issue if the EP0203timecat is build using EP0203time as the may be no error at that level of the interaction.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1375 views
  • 0 likes
  • 2 in conversation