Open rafaelkaufmann opened 1 week ago
Yep, we've been thinking about this. It definitely gets tricky, as JS doesn't seem to have good libraries with multivariate support, but we could probably add some simpler options.
Can you be more specific about the functionality you'd want?
I know that often multivariate normals or other simple multivariates are used, maybe we could get far with just a few multivariate structures. I'm not an expert here.
Given that this is just for forward estimation/prediction (new FR forthcoming!), multivariate normals would indeed be sufficient. One can get a multivariate normal from a vector of independent normal scalar RVs by matrix multiplication, but this is also missing ;)
Yea, matrix operations are something I'd like to provide basic support for, but it's definitely more work.
We are a small nonprofit doing most of this with a currently-small market size. There's definitely a lot of improvements we'd like to make!
Description of suggestion or shortcoming:
From perusing the documentation and trying out various things, Squiggle seems to be missing support for multivariate distributions, which makes a lot of things awkward or impossible :)