Description Usage Arguments Value See Also
View source: R/Gaussian_Inference.r
Generate the marginal likelihood of the following model structure:
x \sim Gaussian(mu,Sigma)
mu \sim Gaussian(m,S)
Where Sigma is known. Gaussian() is the Gaussian distribution. See ?dGaussian
for the definition of Gaussian distribution.
The model structure and prior parameters are stored in a "GaussianGaussian" object.
Marginal likelihood = p(x|m,S,Sigma)
1 2 | ## S3 method for class 'GaussianGaussian'
marginalLikelihood_bySufficientStatistics(obj, ss, LOG = TRUE, ...)
|
obj |
A "GaussianGaussian" object. |
ss |
Sufficient statistics of x. In Gaussian-Gaussian case the sufficient statistic of sample x is a object of type "ssGaussianMean", it can be generated by the function sufficientStatistics(). |
LOG |
Return the log density if set to "TRUE". |
... |
Additional arguments to be passed to other inherited types. |
numeric, the marginal likelihood.
GaussianGaussian
, marginalLikelihood.GaussianGaussian
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.