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: 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 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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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