I am trying to predict the dependent variable of a GAMLSS function based on predicted values of mu, sigma, nu and tau parameters.
I have built a model for hospital length of stay using GAMLSS.
After training the model in a sample of patients (using BCPE) I am now trying to predict the dependent variable (length of stay) in a new dataset.
Using the "predictAll" function of the gamlss package in R I can obtain the predicted parameters for mu, sigma, nu and tau, but I don't know how can I obtain the values of the dependent variable (length of stay).
Someone can help? Thanks