Description Usage Arguments Value References See Also Examples
View source: R/Gaussian_Inference.r
For the model structure:
x \sim Gaussian(mu,Sigma)
Sigma \sim InvWishart(v,S)
mu is known. Gaussian() is the Gaussian distribution. See ?dGaussian
and ?dInvWishart
for the definition of the distributions.
Update (v,S) by adding the information of newly observed samples x. The model structure and prior parameters are stored in a "GaussianInvWishart" object, the prior parameters in this object will be updated after running this function.
1 2 |
obj |
A "GaussianInvWishart" object. |
ss |
Sufficient statistics of x. In Gaussian and Inverse-Wishart case the sufficient statistic of sample x is a object of type "ssGaussianVar", it can be generated by the function sufficientStatistics(). |
... |
Additional arguments to be passed to other inherited types. |
None. the gamma stored in "obj" will be updated based on "ss".
Gelman, Andrew, et al. Bayesian data analysis. CRC press, 2013.
MARolA, K. V., JT KBNT, and J. M. Bibly. Multivariate analysis. AcadeInic Press, Londres, 1979.
GaussianInvWishart
,posteriorDiscard.GaussianInvWishart
,sufficientStatistics.GaussianInvWishart
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.