si.fu at ntlworld.com
2008-Feb-15 10:19 UTC
[R] Help, Statistics Question. Testing for equality of frequncies of an event
Hi All, I have a basic statistics question you might be able to help. I have some data collected within a single population (say of chronic illness) over a period of time (number under observation is constant, say 100 subjects). The question is how could I test whether the frequency of an event (say hospital admission) over one period is no different to other. My data looks like this Week No of Events (hospital admissions) 1 23 2 26 3 46 4 23 5 45 6 58 7 34 The hypothesis : The frequency of events (hospital admissions) during the period covering weeks 3 and 4 is not different to any other weeks. Many Thanks for your help. RA ----------------------------------------- Email sent from www.virginmedia.com/email Virus-checked using McAfee(R) Software and scanned for spam
David Winsemius
2008-Feb-15 15:30 UTC
[R] Help, Statistics Question. Testing for equality of frequncies of an event
<si.fu at ntlworld.com> wrote in news:20080215101854.SIPW29112.aamtaout04-winn.ispmail.ntl.com at smtp.ntlw orld.com:> Hi All, > > I have a basic statistics question you might be able to help. > > I have some data collected within a single population (say of > chronic illness) over a period of time (number under observation is > constant, say 100 subjects). > > The question is how could I test whether the frequency of an event > (say hospital admission) over one period is no different to other. > > My data looks like this > > Week No of Events (hospital admissions) > 1 23 > 2 26 > 3 46 > 4 23 > 5 45 > 6 58 > 7 34 > > The hypothesis : The frequency of events (hospital admissions) > during the period covering weeks 3 and 4 is not different to any > other weeks.?glm With family = poisson -- David Winsemius