Potsdam Mind Research Repository

Reproducible Research

  • Increase font size
  • Default font size
  • Decrease font size
Home R Playground R Playground Kliegl, R. (2013). Modeling Time-Accuracy Functions with nlmer()

Kliegl, R. (2013). Modeling Time-Accuracy Functions with nlmer()

E-mail

Oberauer & Kliegl (2006) used nlme() of the nlme package to fit accuracy in various working-memory tasks as a function of presentation time and experimental conditions, most importantly memory load. In 2010, I checked for a small subset of our data whether such models can also be implemented with nlmer()  of the lme4 package. The "problem" has been that the nlmer() interface is not quite as convenient and flexible as the nlme() interface for the specification of within-subject fixed effects and associated variance components and correlation parameters. Thus, these effects and their associated gradient parameters must be hand-coded for different models. Therefore, we have stayed with nlme() for our current research; see, e.g., Göthe et al. (2012) under Research Topics/Working Memory (TAFs, and NLMMs) for data and R scripts at this site.

Update 01-01-2013: Ben Bolker ( http://rpubs.com/bbolker/3363 ) shows how such functions can be set up more elegantly with the help of derive(), deparse(), and eval(), but it still is a bit of a hack anyway. My last checks of the nlmer-models were based on lme4_0.999999-0.

 

To download, use right-click or CTRL-click and then "save as..."
Download this file (Oberauer.Kliegl.JML.55.2006.601.pdf)Oberauer.Kliegl.JML.55.2006.601.pdf[ ][01]812 Kb01/01/2013 12:38
Download this file (p1.nlme.R)p1.nlme.R[ ][02]2 Kb01/01/2013 12:31
Download this file (p1.nlmer.R)p1.nlmer.R[ ][03]2 Kb01/01/2013 12:32
Download this file (Ftaf.R)Ftaf.R[ ][04]1 Kb01/01/2013 12:32
Download this file (Ftaf.V2.R)Ftaf.V2.R[ ][05]0.5 Kb01/01/2013 12:33
Download this file (Ftaf.V3.R)Ftaf.V3.R[ ][06]0.6 Kb01/01/2013 12:34
Download this file (Ftaf.V4.R)Ftaf.V4.R[ ][07]0.6 Kb01/01/2013 12:34
Download this file (exampleTAF.rda)exampleTAF.rda[ ][08]1 Kb01/01/2013 12:35
Last Updated on Thursday, 03 January 2013 14:02  

Add comment



See also


Copyright © 2017 Potsdam Mind Research Repository (PMR2). All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.