analysis of rt distributions with r
DESCRIPTION
Analysis of RT distributions with R. Emil Ratko-Dehnert WS 2010/ 2011. About me. Studied Mathematics (LMU) „Kalman Filter, State-space models and EM-algorithm“ Dr. candidate under Prof. Müller, Dr. Zehetleitner Research Interest: Visual attention and memory - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/1.jpg)
Analysis of RT distributionswith R
Emil Ratko-DehnertWS 2010/ 2011
![Page 2: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/2.jpg)
About me
• Studied Mathematics (LMU)
– „Kalman Filter, State-space models and EM-algorithm“
• Dr. candidate under Prof. Müller, Dr. Zehetleitner
• Research Interest:
– Visual attention and memory
– Formal modelling and systems theory
– Philosophy of mind
2
![Page 3: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/3.jpg)
About the students
• Your name and origin?
• Your educational background?
• Your research interests/ experience?
• Any statistical/ programming skills?
• What are your expectations about the course?
3
![Page 4: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/4.jpg)
Concept of the course
• Where: CIP-Pool 001, Martiusstr. 4
• When: Tuesdays, 0800 – 1000
• Introduction to probability theory, statistics with focus
on instruments for RT distribution analysis
• Part theory, part programming (in R)
• Tailored to the students state of knowledge and speed
• Follow-up course next semester is planned4
![Page 5: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/5.jpg)
Literature
• This course is loosely based on...
– Trisha Van Zandt: Analysis of RT distributions
– John Verzani: simpleR –
Using R for introductory statistics
5
![Page 6: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/6.jpg)
MOTIVATION FOR THE COURSE
6
RT
![Page 7: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/7.jpg)
Why use response times (RT)?
• measured easily and (in principle) with high
precision
• are ratio-scaled, thus a large amount of
statistical/ mathematical tools can be applied
7
RT
![Page 8: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/8.jpg)
Response times in research
• RTs are of paramount importance for
empirical investigations in biological, social
and clinical psychology with over 29.000
abstracts in PsychInfo database
8
RT
![Page 9: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/9.jpg)
But...
• Although RTs have been used for over a century,
still basic issues arise
– NP H0 testing are routinely applied to RTs even
though normality and independence are violated
– analysis at the level of means most often too
conservative, uninformative, concealing ...
9
RT
![Page 10: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/10.jpg)
Recently ...• Publications with in-depth investigation of RT
distributions were issued
– Ulrich 2007, Ratcliff 2006, Maris 2003, Colonius 2001, ...
• Why not earlier?
– Mathematical theories are not very accessible for non-
mathematicians
– Implementation with current statistical software is
generally not easy to use10
RT
![Page 11: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/11.jpg)
GNU R Project
• R was created by Ross Ihaka and Robert
Gentleman at the University of Auckland (NZ)
• R has become a de facto standard among
statisticians for the development of statistical
software and is widely used for statistical
software development and data analysis.
11
![Page 12: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/12.jpg)
Advantages of R
• R is free - R is open-source and runs on UNIX,
Windows and Mac
• R has an excellent built-in help system
• R has excellent graphing capabilities
• R has a powerful, easy to learn syntax with many
built-in statistical functions
• R is highly extensible with user-written functions12
![Page 13: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/13.jpg)
„Downsides“ of R
• R is a computer programming language, so users
must learn to appreciate syntax issues etc.
• It has a limited graphical interface
• There is no commercial support
13
![Page 14: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/14.jpg)
Useful links for R• Book of the course:
– http://wiener.math.csi.cuny.edu/UsingR/index.html/
– http://mirrors.devlib.org/cran/doc/contrib/Verzani-SimpleR.pdf
• Manuals:– http://cran.r-project.org/doc/manuals/R-intro.html
– http://www.statmethods.net/index.html
– http://www.cyclismo.org/tutorial/R/
– http://math.illinoisstate.edu/dhkim/Rstuff/Rtutor.html
14
![Page 15: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/15.jpg)
Links for packages
• http://cran.r-project.org/web/views/
• http://cran.r-project.org/web/packages/index.html
• http://crantastic.org/
15
![Page 16: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/16.jpg)
Course roadmap
Introduction to probability theory
Random variables and their characterization
Estimation Theory
Model testing
16
I
II
III
IV
![Page 17: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/17.jpg)
INTRODUCTION TOPROBABILITY THEORY
17
I
![Page 18: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/18.jpg)
Interpretations of probability• Laplacian Notion
– „events of interest“ / „all events“
• Frequentistic Notion
– Throwing a dice 1000 times „real“
probability
• Subjective probabilities/ Bayesian approach
– How likely would you estimate the occurence
of e.g. being struck by a lightning?
– Updating estimation after observing evidence18
I
![Page 19: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/19.jpg)
Randomness in mathematics
• Probability theory
– Axiomatic system of Kolmogorov; measure theory
– Stochastic processes (e.g. Wiener process)
• Mathematical statistics
– Test and estimation theory; modelling
19
I
![Page 20: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/20.jpg)
Randomness in the brain?• Neural level
– Neurons are non-linear system and have intrinsic noise
• Stimulus level
– BU: Ambiguous sensory evidence may lead to conflict/
deliberation
• Subject level
– TD: expectations, intertrial and learing effects alter the per se
deterministic decision loop
• Measurement device
– May have subpar precision or sampling rate 20
I
![Page 21: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/21.jpg)
Mathematical Modelling
21„Reality“ Model space
I
![Page 22: Analysis of RT distributions with R](https://reader035.vdocuments.site/reader035/viewer/2022062410/568154b6550346895dc2c052/html5/thumbnails/22.jpg)
AND NOW TO
22