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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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