On 12 Aug 2022, at 16:55, JJ Hubbard <jordanj...@gmail.com> wrote:
I think so, I haven't really considered whether the hypers should be shared or independent.
To view this discussion on the web, visit https://groups.google.com/d/msgid/r-inla-discussion-group/50e9dfce-9e08-4fa7-a958-09cb7926d33cn%40googlegroups.com.
On 12 Aug 2022, at 19:19, JJ Hubbard <jordanj...@gmail.com> wrote:
Thanks a ton for your help so far. Here is what I have now:
To view this discussion on the web, visit https://groups.google.com/d/msgid/r-inla-discussion-group/9ab62fde-1fac-44e9-a958-9aa5cc17af0cn%40googlegroups.com.
On 12 Aug 2022, at 20:29, JJ Hubbard <jordanj...@gmail.com> wrote:
I have been testing with small samples of about 5-20 rows from my dataframe, which is about 300,000 rows total. 5-10 rows usually takes about 1m-1m30s with the single fixed effect and AR1 included. With just the singled fixed effect I can run about 2000 rows in 1s.
To view this discussion on the web, visit https://groups.google.com/d/msgid/r-inla-discussion-group/bd6c45e2-b1da-4890-8d75-2f0c97f0a8a4n%40googlegroups.com.
On 12 Aug 2022, at 20:52, JJ Hubbard <jordanj...@gmail.com> wrote:
Your stratified subset is something I tried, with positive results. Much faster when subsetting only 100 participants, but all of their observations. In order to run the model on my full data when I am ready, I imagine I would need to reorder the data so that I do not have a large bulk of participants who the model has not encountered yet, which is what seems to result in the slow down.
To view this discussion on the web, visit https://groups.google.com/d/msgid/r-inla-discussion-group/fb9cdbd5-ec32-43f1-904a-acbe919ca8f9n%40googlegroups.com.
On 12 Aug 2022, at 21:09, JJ Hubbard <jordanj...@gmail.com> wrote:
I am getting my replicate vector by calling
To view this discussion on the web, visit https://groups.google.com/d/msgid/r-inla-discussion-group/838f3267-0adb-4420-891a-b036eca4a5a5n%40googlegroups.com.
On 19 Aug 2022, at 17:31, JJ Hubbard <jordanj...@gmail.com> wrote:
I think so, I haven't really considered whether I would want them to share hypers or have their own. I don't think I did the best job explaining my setup, let me clarify.Currently, my idx argument is just 1:nrow(df), which I modeled from reading this documentation: ar.pdf (r-inla-download.org)But since my data comes from multiple participants, for any index i, index i-1 is likely not from the same participant, so my AR right now I think is nonsensical, as most of the time the lag is not actually the current individual's Y_t-1, but actually some other individual's Y_t.Thanks for your prompt response.
To view this discussion on the web, visit https://groups.google.com/d/msgid/r-inla-discussion-group/3fdec5e3-a299-4e80-aa56-faf6816759e7n%40googlegroups.com.