Closed harveyaa closed 3 years ago
Update: error manifests even when fitting algorithm converges. Get a warning New way of prediction in random() (starting from GAMLSS version 5.0-6)
that seems like a good clue.
SOLVED: error related to rpy2 interface, put trouble code section directly in R w/ string type explicit for parameter argument in predict.
When
random()
is used in a formula of the GAMLSS model an error is produced, that thewhat
parameter is not found. Likely caused by the model not converging & as a result not being able to predict from it.