[R] Help, Statistics Question. Testing for equality of frequncies of an event

David Winsemius dwinsemius at comcast.net
Fri Feb 15 16:30:59 CET 2008


<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



More information about the R-help mailing list