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.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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