BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Can anybody give me any insight as to how to write a program that forms confidence intervals for one component from a stratified table? I have a list of stratified dollar amounts in a table, and want a confidence interval for each of those amounts.
Thank you!
1 REPLY 1
Doc_Duke
Rhodochrosite | Level 12
Erin,

Your question isn't very specific about the end goal.

The basic formula for a normal approximation confidence interval for a proportion, p, is

p +- 1.96*SQRT(p(-1p)/n)

If you are looking for some sort of pooled confidence limit, you might be able to get it using PROC LOGISTIC with the STRATA statement. You might also be able to get something useful using PROC FREQ and the CMH option.

Doc Muhlbaier
Duke

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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