I have two questions to ask. The first one is that when I add a prompt model to the composite model and run the second section of code below, R reports an error: Error in UseMethod ("generate"): "generate" does not have a method applicable to the target object of "fbl_prophet". Can't this model be used in combination models to generate prediction intervals? Is there an alternative method?
The second question is: When I use a combination model to predict my monthly case data, the prediction interval generated by the ETS model contains negative numbers, which is illogical because the number of cases cannot be negative. How should this be resolved?
Very confused and looking forward to your answer!

No-one has written a generate() function for prophet. The fable.prophet package is simply a wrapper to the prophet package to enable these models to be used in the fable framework. But the prophet package does not include methods for simulation. It could, however, be used in ensemble models by sampling from the forecast distributions.

Most models assume a sample space of the whole real line. If you want to restrict the forecast distributions to be on the positive real line, you could model the log of the variable of interest. Alternatively, you could truncate the distributions at zero and re-scale the remaining part of the distribution.

Your answer is very comprehensive and has provided me with reference opinions. Thank you. Indeed, the Prophet model can be used in a set of models, and the model generates prediction intervals by sampling from the predicted distribution.

So this model cannot use generate function to generate prediction intervals. right?

I can solve the problem of negative numbers in the prediction interval of the ETS model in the combination model through ETS (log (variable)), and The mean predicted by the model is still the mean that has not been converted by the log function,right?

You proposed οΌAlternatively, you could truncate the distributions at zero and re-scale the remaining part of the distribution. Could you write a code example? I really don't know how to operate it specifically.