Re: [R] A statistical modeling problem

From: Spencer Graves <spencer.graves_at_pdf.com>
Date: Fri 15 Jul 2005 - 13:42:55 EST

          Let's do the simplest things first: I'd start with normal probability plots of log(t_ij). If that all looked sensible, I'd then use lme to model log(t_ij) with subject as a random effect and (probably) que as a fixed effect.

          Then I'd probably try something like glmmPQL in library(MASS) to leverage whatever I got into logistic regression models with, again, subject as a random effect and que and log(t_ij) as possible explanatory variables.

          Regarding "lme", I highly recommend Pinheiro and Bates (2000) Mixed-Effect Models in S and S-Plus (Springer). For glmmPQL, see Venables and Ripley (2002) Modern Applied Statistics with S, 4th ed. (Springer). I'd also search the archives for "generalized linear mixed models", as there are other R packages that offer related capabilities.

          spencer graves

Ravi Varadhan wrote:

> Hi,
>
>
>
> This is not an R related question and I apologize for that, but given the
> brain power of the R community it is hard for me to resist posting this
> here.
>
>
>
> I have a problem where each participant is shown a series of visual cues
> (displayed on a computer screen in a random order) and asked to respond by
> pressing a button (from a finite number of buttons) that corresponds to the
> correct answer. The data is of the form (r_ij , t_ij), where r_ij = 1
> indicates correct response by the i-th subject on the j-th cue, and t_ij is
> the time taken to respond. Are there statistical models to describe this
> set up? Any references or suggestions would be greatly appreciated.
>
>
>
> Thanks very much,
>
> Ravi.
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

-- 
Spencer Graves, PhD
Senior Development Engineer
PDF Solutions, Inc.
333 West San Carlos Street Suite 700
San Jose, CA 95110, USA

spencer.graves@pdf.com
www.pdf.com <http://www.pdf.com>
Tel:  408-938-4420
Fax: 408-280-7915

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Fri Jul 15 13:46:58 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:43 EST