-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to add new distributions #1
Comments
Sure. It's basically as simple as adding a new distribution class. I'm on vacation through Aug 11th, but I'll send you an example when I get back. Alternatively, just add your own based on one of the existing classes Additionally, I plan to add support for all the basic distribution -Whit On Sun, Aug 5, 2012 at 9:40 AM, faraway1nspace
|
I'd like to have the Wishart distribution. I have not understand how I could add it myself. |
yes, it's there in the cpp library only. you can add it to the R package if you copy one of the other examples. |
What examples are you talking about ? Do you mean I take the code of a function such as |
Yes, exactly. Just add a wrapper for the distribution and rebuild the package. Or, wait a few weeks and I'll try to add it. There are a few other distribution requests outstanding, so I have a bit of a backlog for updating the package. |
I wanted to use multivariate normal but the rcppbugs package will not compile with the latest CppBugs. There seems to have been quite a few changes. Will there be a newer version of rcppbugs in the future? |
yes. Rcppbugs needs to be updated per all the changes in the c++ backend. Do you need to use it via R, or could you perhaps use the c++ version? |
Hi Whit, |
I've done a bunch of work on it, and the newer version is almost ready. As much as I like my project. I think you should give STAN a shot. they have done some pretty cool things w/ sampling. |
Thanks for the reply, Whit. I think stan is great, but my data has plenty of NA, which seems to be a big headache in stan. Looking forward to the new version of rcppbugs! |
Hi Armstrtw,
Cppbugs looks very promising! Well done!
I was hoping you could give an example about how to add new distributions, such as Poisson, or Multivariate Normal, to cppbugs. I'm hoping that cppbugs proves more customizable than JAGS.
Related: any plans to add the above distributions yourself?
The text was updated successfully, but these errors were encountered: