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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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