Modelling reaction times with two overlapping processes

It turns out that the sum of normally distributed and exponentially distributed random numbers gives rise to Carpenter’s distribution:

>> t=.2+.02*randn(1,10000) + exprnd(.05,[1 10000]);
>> hist(t,30)

>> hist(1./t,30)

>> t_reaccion2histog_carpenter(t,20,’r.-‘);

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: