2 years ago

#49251

test-img

Julien Beaulieu

mgcv::k.check equivalent for GAM in brms

I am doing HGAM with the brm function (brms package). For now, I kept the default k = 10, but I want to know if I should set k higher. I know that the function k.check in the mgcv package does that diagnostic, but I can't find any equivalent for brms.

Does an equivalent of mgcv::k.check exist for brms? If not how can I know if my k is sufficient? I could change it and check the fit, but I am limited in time and computer power.

Thank you!

r

gam

mgcv

brms

0 Answers

Your Answer

Accepted video resources