Groups
Groups
Sign in
Groups
Groups
TMB Users
Conversations
About
Send feedback
Help
TMB Users
Contact owners and managers
1–30 of 365
Welcome to the TMB/RTMB Users email list!
Before posting, please check the wiki and issuetracker at
https://github.com/kaskr/adcom
p/
. Please try to create a simple repeatable example to go with your question (e.g issues 154, 134, 51).
For questions about glmmTMB, please carefully read
https://github.com/glmmTMB/glm
mTMB#where-to-ask-questions
while considering if you should write to this group or not.
Thanks!
Mark all as read
Report group
0 selected
Katie Paulson
12/23/25
Normalizing constant / marginal likelihood in TMB?
Hello, Is it possible to use TMB to estimate the normalizing constant (marginal likelihood) for a
unread,
Normalizing constant / marginal likelihood in TMB?
Hello, Is it possible to use TMB to estimate the normalizing constant (marginal likelihood) for a
12/23/25
Jan-Ole Koslik
, …
Kasper Kristensen
8
12/16/25
Numerical problems with complex RTMB model
Jeff, so far the method is only available in RTMB. On Tuesday, December 16, 2025 at 12:47:32 AM UTC+1
unread,
Numerical problems with complex RTMB model
Jeff, so far the method is only available in RTMB. On Tuesday, December 16, 2025 at 12:47:32 AM UTC+1
12/16/25
Abe Solberg
,
Kasper Kristensen
2
12/3/25
Nested Tapes for Efficient Memory Allocation
Your model lacks sparsity because it's not initially formulated as a state space model. It may
unread,
Nested Tapes for Efficient Memory Allocation
Your model lacks sparsity because it's not initially formulated as a state space model. It may
12/3/25
Abe Solberg
,
Kasper Kristensen
3
12/1/25
Segfault with fft on Linux
Cheers. Thank you for the quick response. That fixed it. Thanks again, Abe On Mon, Dec 1, 2025 at 4:
unread,
Segfault with fft on Linux
Cheers. Thank you for the quick response. That fixed it. Thanks again, Abe On Mon, Dec 1, 2025 at 4:
12/1/25
mark...@gmail.com
11/19/25
Error in TransformADFunObject
Thought this might be helpful (and good to get in google searches and AI). It occurs in rTMB if you
unread,
Error in TransformADFunObject
Thought this might be helpful (and good to get in google searches and AI). It occurs in rTMB if you
11/19/25
pthomp...@gmail.com
, …
Kasper Kristensen
7
11/18/25
Non-numeric argument to pgamma(...) in MakeADFun
Thanks all for your comments on this! It works perfectly with the pgamma() call changed to specify
unread,
Non-numeric argument to pgamma(...) in MakeADFun
Thanks all for your comments on this! It works perfectly with the pgamma() call changed to specify
11/18/25
Matt Cheng
, …
Kasper Kristensen
4
10/20/25
R Bomb w/ Large Number of Random Effects
If RTMB is crashing your R session it's an RTMB bug, even if ultimately caused by misuse. A bug
unread,
R Bomb w/ Large Number of Random Effects
If RTMB is crashing your R session it's an RTMB bug, even if ultimately caused by misuse. A bug
10/20/25
Jan-Ole Koslik
9/23/25
Caching in R markdown
Not a super important question, just something I noticed, which made me curious: Having RTMB models
unread,
Caching in R markdown
Not a super important question, just something I noticed, which made me curious: Having RTMB models
9/23/25
Jan-Ole Koslik
,
Kasper Kristensen
4
9/18/25
checkConsistency error
Yes, density accumulation should be in 'topological order' just like you would order a
unread,
checkConsistency error
Yes, density accumulation should be in 'topological order' just like you would order a
9/18/25
James Thorson
,
Kasper Kristensen
2
9/18/25
Inverse subset: order 2 not yet implemented
A temporary fix is to disable this atomic, which is indirectly generated as the log determinant
unread,
Inverse subset: order 2 not yet implemented
A temporary fix is to disable this atomic, which is indirectly generated as the log determinant
9/18/25
Tomas T.
, …
Ben Bolker
6
9/10/25
MakeTape throws an error: Error in advector(y) : Invalid argument to 'advector' (lost class attribute?)
Dear Ben, Phillip, all, Ben, thank you very much for the new README! This is awesome, exactly what I
unread,
MakeTape throws an error: Error in advector(y) : Invalid argument to 'advector' (lost class attribute?)
Dear Ben, Phillip, all, Ben, thank you very much for the new README! This is awesome, exactly what I
9/10/25
Tomas T.
,
Kasper Kristensen
3
9/10/25
Get only hessian diagonal instead of the whole hessian matrix?
Thanks Kasper! This works perfectly, and it is fast! I was also able to get the 3rd derivative by F$
unread,
Get only hessian diagonal instead of the whole hessian matrix?
Thanks Kasper! This works perfectly, and it is fast! I was also able to get the 3rd derivative by F$
9/10/25
Mollie Brooks
,
Kasper Kristensen
3
8/29/25
oneStepPredict parallel=TRUE
Just to follow up on this. I confirmed that the code wasn't using all 20 cores that I requested
unread,
oneStepPredict parallel=TRUE
Just to follow up on this. I confirmed that the code wasn't using all 20 cores that I requested
8/29/25
Rishika Chopara
,
Mollie Brooks
5
8/18/25
Fitting SCR models using RTMB
PS Since your problem has a matrix in the data, here's a version with that. indx1 = 1:500 dat1 =
unread,
Fitting SCR models using RTMB
PS Since your problem has a matrix in the data, here's a version with that. indx1 = 1:500 dat1 =
8/18/25
Paul vdb
,
Kasper Kristensen
3
8/15/25
Efficient data updates for EM algorithm
That's neat. I wouldn't have thought of that with my head stuck in MakeADFun. The nested
unread,
Efficient data updates for EM algorithm
That's neat. I wouldn't have thought of that with my head stuck in MakeADFun. The nested
8/15/25
Jan-Ole Koslik
, …
Phillip Vetter
7
8/9/25
B-spline derivatives
Just to answer my own question: Yes it is. https://github.com/kaskr/RTMB/blob/
unread,
B-spline derivatives
Just to answer my own question: Yes it is. https://github.com/kaskr/RTMB/blob/
8/9/25
Richard Chandler
,
Kasper Kristensen
3
8/7/25
dpois(0,0,true) returns NaN
Thanks, I'll test that out. The dpois2 hack seems to work fine as well. On Wednesday, August 6,
unread,
dpois(0,0,true) returns NaN
Thanks, I'll test that out. The dpois2 hack seems to work fine as well. On Wednesday, August 6,
8/7/25
Jan-Ole Koslik
,
Kasper Kristensen
5
8/5/25
Memory spike with RTMB
Actually, the sapply() part is wrong, same memory requirements. I was mislead here. Jan-Ole Koslik
unread,
Memory spike with RTMB
Actually, the sapply() part is wrong, same memory requirements. I was mislead here. Jan-Ole Koslik
8/5/25
Jan-Ole Koslik
,
Kasper Kristensen
5
8/1/25
gamma function
Yes, I'm doing that at the moment but it leads to some other problems :/ kasper.k...@gmail.com
unread,
gamma function
Yes, I'm doing that at the moment but it leads to some other problems :/ kasper.k...@gmail.com
8/1/25
KUNASEKARAN NIRMALKANNA
,
Kasper Kristensen
2
7/28/25
AD to numeric in RTMB
Reported objects should never be AD. Quoting from ?advector: An 'advector' is a class used
unread,
AD to numeric in RTMB
Reported objects should never be AD. Quoting from ?advector: An 'advector' is a class used
7/28/25
Jan-Ole Koslik
,
Kasper Kristensen
3
7/28/25
Sparsity loss with matrix-vector multiplication
The 'RTMB-advanced' vignette has a bit of information on this - see section 'Tape
unread,
Sparsity loss with matrix-vector multiplication
The 'RTMB-advanced' vignette has a bit of information on this - see section 'Tape
7/28/25
Paul vdb
,
Kasper Kristensen
2
6/26/25
expAv undeflow/overflow tricks
It's a problem in RTMB that needs to be fixed. I've opened a github issue. On Thursday, June
unread,
expAv undeflow/overflow tricks
It's a problem in RTMB that needs to be fixed. I've opened a github issue. On Thursday, June
6/26/25
Timothée Flutre
, …
Kasper Kristensen
6
6/25/25
error returned by MakeADFun to fit LMM with correlated random effects and errors
Thank you! I will follow this direction (after updating my system because for me "p triplets
unread,
error returned by MakeADFun to fit LMM with correlated random effects and errors
Thank you! I will follow this direction (after updating my system because for me "p triplets
6/25/25
Jan-Ole Koslik
, …
Kasper Kristensen
3
6/25/25
Printing of "Retaping: Nold=... Nnew=..." when using expAv()
Also note that this output can be disabled using the `trace` argument - see ?expAv. On Tuesday, June
unread,
Printing of "Retaping: Nold=... Nnew=..." when using expAv()
Also note that this output can be disabled using the `trace` argument - see ?expAv. On Tuesday, June
6/25/25
Jan-Ole Koslik
,
Kasper Kristensen
4
6/24/25
Filling sparse matrices
Thanks! kasper.k...@gmail.com schrieb am Mittwoch, 18. Juni 2025 um 10:23:01 UTC+2: I think this
unread,
Filling sparse matrices
Thanks! kasper.k...@gmail.com schrieb am Mittwoch, 18. Juni 2025 um 10:23:01 UTC+2: I think this
6/24/25
houessou madjid
6/16/25
Log Gaussian Cox Process in TMB
Hi all, I am trying to implement the LGCP in TMB in which i approximate the gaussian random field by
unread,
Log Gaussian Cox Process in TMB
Hi all, I am trying to implement the LGCP in TMB in which i approximate the gaussian random field by
6/16/25
Jan-Ole Koslik
,
Kasper Kristensen
2
6/13/25
Problems with eigen()
It's because `eigen(.,symmetric=FALSE)` gives a complex factorization - perhaps you want
unread,
Problems with eigen()
It's because `eigen(.,symmetric=FALSE)` gives a complex factorization - perhaps you want
6/13/25
Jan-Ole Koslik
, …
Kasper Kristensen
5
6/13/25
logspace add RTMB
Thanks to both of you! kasper.k...@gmail.com schrieb am Freitag, 6. Juni 2025 um 10:00:43 UTC+2: Ben,
unread,
logspace add RTMB
Thanks to both of you! kasper.k...@gmail.com schrieb am Freitag, 6. Juni 2025 um 10:00:43 UTC+2: Ben,
6/13/25
houessou madjid
6/12/25
How to implement the Log Gaussian Cox Process in TMB
Hi all, I am trying to implement the LGCP in TMB in which i approximate the gaussian random field by
unread,
How to implement the Log Gaussian Cox Process in TMB
Hi all, I am trying to implement the LGCP in TMB in which i approximate the gaussian random field by
6/12/25
Ben Bolker
, …
Kasper Kristensen
4
6/4/25
TMBad vs cppAD documentation?
Thanks, Kasper. All my "TMBad vs CppAD" searching had failed to find this, it's very
unread,
TMBad vs cppAD documentation?
Thanks, Kasper. All my "TMBad vs CppAD" searching had failed to find this, it's very
6/4/25