Re: [R] Logistic regression with repeated measures

From: Dieter Menne <dieter.menne_at_menne-biomed.de>
Date: Mon, 11 Feb 2008 19:36:09 +0000 (UTC)

Steven Vamosi <smvamosi <at> gmail.com> writes:

> In a nutshell, the experiment involved presenting females from two
> groups (treatment, control) with an opportunity to mate with a virgin
> male every 6 hours for 48 hours. Every female was presented this
> opportunity at every time step (i.e., whether or not she mated at 6
> hr, she was again presented with a male at 12 hr, and so on).

.....
> female group mass time mate
> 1 control 5.7 0 1
> 1 control 5.7 6 1
.....
> How, then, to determine whether treatment females display different
> mating patterns over time than control females? Here's my crack at it:
>
> foo1 <- lmer2(mate ~ group * mass * time + (time | female), family=binomial)
>

And what happened post-crack? Error ~."..singular"? In case, did you try to replace the * by + as a first try?

Dieter



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 Mon 11 Feb 2008 - 19:46:55 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 Mon 11 Feb 2008 - 20:30:13 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