Skip to content
Back to formatted view

Raw Message

Message-ID: <69C9F7F8-E011-470C-B89D-D21611ED0FA4@comcast.net>
Date: 2011-12-01T13:34:11Z
From: David Winsemius
Subject: Resampling with replacement on a binary (0, 1) dataset to get Cis
In-Reply-To: <1322739265192-4127990.post@n4.nabble.com>

On Dec 1, 2011, at 6:34 AM, lincoln wrote:

> ...is it possible to do that?
>
> I apologize for something that must be a very trivial question for  
> most of
> you but, unfortunately, it is not for me.
> A binary variable is measured, say, 50 times each year during 10  
> year. My
> interest is focused on the percentage of 1s with respect to the  
> total if
> each year.
> There is no way to repeat those measure within each year and getting  
> the CIs
> by the "normal way".
> By the way, it would be important to get even a rough estimate of  
> the CIs of
> these estimates (/n/1//n/1+/n/0).
>
> In case this is not a blasphemy, how might be done in R?

?prop.test

>
> Thanks in advance for any help
>

David Winsemius, MD
West Hartford, CT