[R] transform RTs
Matthias Gondan
matthias-gondan at gmx.de
Thu Aug 30 20:08:23 CEST 2012
you might to do something like
library(SuppDists)
t = runif(100, 100, 500) # original RT
t_IG = qinvGauss(ecdf(t)(t)-0.5/length(t), 1, 16)
plot(density(t_IG))
but what is the purpose of it? Usually reaction times are thought to
follow a certain kind of distribution (e.g. an inverse Gaussian
distribution).
Am 29.08.2012 17:54, schrieb Katja Böer:
> Hello,
>
> I'm trying to transform reaction times which are not normally distributed
> to an ex gaussian or an
> inverse gaussian distribution, but I don't really know how to use the
> exGAUS() function.
>
> Can someone show me a script in which data has been transformed?
>
> Thanks in advance
>
> k
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
More information about the R-help
mailing list