You can definitely multiply things together, no problem. I guess it’s common in mixed media models, see here for an example where random variables are mixed together in a regression. As it stands, what you wrote is just fine, you will just have to make sure all the shapes work, as simulated_buyers
will inherit the shape of registered_buyers.mean
.
Another option would be to make simulated_buyers
an observed node, with the number of buyers each month as data and estimate mu
and sigma
. As it stands you lose some uncertainty because you are computing summary statistics (registered.mean and .std) outside the model, then using them as deterministic data. It might not matter in your application, though.