<p>It appears as if the problem was caused by pre-processing using (the amazing) tidyverse package.  When I (a) wrote the dataframe as a .csv file and then uploaded it, the LBA worked (in most subjects) nicely, converged quickly, and yielded sensible estimates.</p>

<p>Thank you!</p>

CC BY-SA 3.0
2017-04-03T13:31:08.850Z
2017-04-03T13:31:08.850Z
Nachshon Meiran
<p>I am struggling with getting started using the <a href="https://cran.r-project.org/web/packages/glba/index.html" rel="nofollow noreferrer">glba package in R</a>.</p>

<p>Often, the program will not fit the data at all. It immediately converges, but not really, and then instead of estimating it gives the starting values that I gave it, or it generates absurd values, such as negative non-decision times.</p>

<p>I tried to fit the data that is given as an example (bh08) and it worked great, however, with my own data that seemed superficially at least very similar (the RT distributions were in the same ballpark, and with a similar distribution shape) it did not work (converged immediately).  I started with the suggested starting values, but also changed them. </p>

<p>Any smart advice?  </p>

<p>(I guess RT should be in seconds and accuracy is a 1:0 variable.  By the way, the program worked and did not stop when RT was in milliseconds, but the estimates were bizarre).</p>

CC BY-SA 3.0
2017-04-02T13:58:08.863Z
Could you provide a bit more info about what you are studying? What are your objectives, what do you expect to see, what have you tried and what are you using exactly?
Robin Kramer-ten Have
CC BY-SA 3.0
2017-04-03T03:49:00.763Z
Perhaps supply a reproducible example in your question and show how results are deviating from expectations: http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
Jeromy Anglim
<cognitive-modeling><software><reaction-time>
How to get started with the glba R-package?
Nachshon Meiran
# How to get started with the glba R-package?

(Asked by: username_0 on 2017-04-02)

I am struggling with getting started using the [glba package in R](https://cran.r-project.org/web/packages/glba/index.html).

Often, the program will not fit the data at all. It immediately converges, but not really, and then instead of estimating it gives the starting values that I gave it, or it generates absurd values, such as negative non-decision times.

I tried to fit the data that is given as an example (bh08) and it worked great, however, with my own data that seemed superficially at least very similar (the RT distributions were in the same ballpark, and with a similar distribution shape) it did not work (converged immediately). I started with the suggested starting values, but also changed them.

Any smart advice?

(I guess RT should be in seconds and accuracy is a 1:0 variable. By the way, the program worked and did not stop when RT was in milliseconds, but the estimates were bizarre).

**Tags:** cognitive-modeling, software, reaction-time

> **Comments:**
> **username_1**: Could you provide a bit more info about what you are studying? What are your objectives, what do you expect to see, what have you tried and what are you using exactly?  
> **username_2**: Perhaps supply a reproducible example in your question and show how results are deviating from expectations: http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example  

---

## 1 answers

### Answer by username_0 on 2017-04-03. Score: 1

It appears as if the problem was caused by pre-processing using (the amazing) tidyverse package. When I (a) wrote the dataframe as a .csv file and then uploaded it, the LBA worked (in most subjects) nicely, converged quickly, and yielded sensible estimates.

Thank you!


---

