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

From: David Winsemius <dwinsemius_at_comcast.net>
Date: Fri, 15 Feb 2008 15:30:59 +0000 (UTC)

<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

______________________________________________
R-help_at_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.
Received on Fri 15 Feb 2008 - 15:58:28 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 15 Feb 2008 - 16:30:15 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive