- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I need to report confidence intervals for proportions and proportion differences using the Wilson-score (also called Newcombe) method but I cannot use PROC FREQ because the proportions are output as predicted values from a logistic model. The algebraic algorithm could be incorporated into a data step but it's pretty messy - has anyone already created code to do this. Many thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Paper: https://www.lexjansen.com/sesug/2015/103_Final_PDF.pdf
Code:
https://raw.githubusercontent.com/Jiangtang/Programming-SAS/master/CI_Single_Proportion.sas
@lcmichael_unc wrote:
I need to report confidence intervals for proportions and proportion differences using the Wilson-score (also called Newcombe) method but I cannot use PROC FREQ because the proportions are output as predicted values from a logistic model. The algebraic algorithm could be incorporated into a data step but it's pretty messy - has anyone already created code to do this. Many thanks.