LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (April 2011, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 8 Apr 2011 15:23:35 -0400
Reply-To:     Ya Huang <ya.huang@AMYLIN.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Ya Huang <ya.huang@AMYLIN.COM>
Subject:      Re: Proc freq for binomial CI
Comments: To: Dale McLerran <stringplayer_2@YAHOO.COM>

Thanks Dale,

I didn't see your post before I sent out the other one. I actually asked this question. Thanks for confirm.

Ya

On Fri, 8 Apr 2011 12:20:17 -0700, Dale McLerran <stringplayer_2@YAHOO.COM> wrote:

>For males, the confidence limits would be > > LB(Male) = 1 - UB(Female) > UB(Male) = 1 - LB(Female) > >Dale > >--------------------------------------- >Dale McLerran >Fred Hutchinson Cancer Research Center >mailto: dmclerra@nFoHsCpRaCm.org >Ph: (206) 667-2926 >Fax: (206) 667-5977 >--------------------------------------- > > >--- On Fri, 4/8/11, Ya Huang <ya.huang@AMYLIN.COM> wrote: > >> From: Ya Huang <ya.huang@AMYLIN.COM> >> Subject: Proc freq for binomial CI >> To: SAS-L@LISTSERV.UGA.EDU >> Date: Friday, April 8, 2011, 11:47 AM >> Hi there, >> >> The following code only shows the proportion and CI of >> female. Is there a >> way to get male too? >> >> Thanks >> >> Ya >> >> proc freq data=sashelp.class; >> table sex / binomial; >> run; >> >> >> The FREQ Procedure >> >> >> >> Cumulative Cumulative >> Sex Frequency >> Percent >> Frequency Percent >> ------------------------------------------------------------- >> F >> 9 47.37 >> 9 >> 47.37 >> M >> 10 52.63 >> 19 >> 100.00 >> >> >> >> Binomial Proportion for Sex = F >> >> -------------------------------- >> >> Proportion >> 0.4737 >> >> ASE >> 0.1145 >> >> 95% Lower Conf Limit >> 0.2492 >> >> 95% Upper Conf Limit >> 0.6982 >> >> >> Exact Conf Limits >> >> 95% Lower Conf Limit >> 0.2445 >> >> 95% Upper Conf Limit >> 0.7114 >> >> >> Test of H0: Proportion = 0.5 >> >> >> ASE under H0 >> 0.1147 >> >> Z >> -0.2294 >> >> One-sided Pr < Z >> 0.4093 >> >> Two-sided Pr > |Z| >> 0.8185 >> >> >> Sample Size = 19 >>


Back to: Top of message | Previous page | Main SAS-L page