<[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]
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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to