I tried the following commands
using DiffEqUncertainty, Distributions
expectation(g, prob, u0_dist, p)
Of course, the second command is not correct and many arguments are still missing, but it still serves for the purpose of nWME (not Working Minimal Example).
The error message I received is "ERROR: UndefVarError: expectation not defined". Am I missing some other packages to run "expectation" command?
Please help. Thank you.