nimble-dev / nimble

The base NIMBLE package for R
http://R-nimble.org
BSD 3-Clause "New" or "Revised" License
156 stars 23 forks source link

How does MCMC handle missing values in the data when I run the nimble package? #1412

Closed Arizazcq97 closed 8 months ago

Arizazcq97 commented 8 months ago

What is this missing value handling method called? Where can I find literature supporting this R package using this method?

Thank you in advance for your answer, and please forgive me for my impolite expression, because my English is not good

perrydv commented 8 months ago

Hi @Arizazcq97 . Thanks for the message. You can find our user manual at r-nimble.org. Under More-->Groups & Issues, you can find the nimble-users group, which is the best forum for questions. You can post code there if you are stuck or confused.

If you provide a variable in the data list, then any elements that are NA will be treated as missing values and sampled by MCMC (assuming your are using MCMC). Random variables in the model that are not data are also sampled by MCMC (representing random effects or latent states). HTH.

danielturek commented 8 months ago

@Arizazcq97 If you have further questions about this, please feel free to post on the nimble-users Google Group.