MPG-package: Comparison across mixture models through mixtures of...

Description Details Author(s) References See Also Examples

Description

Bayesian model for comparison across mixtures of perturbed Gaussians. The model detects variations in the mixture weights and in the mixture locations across the mixture models.

Details

Package: MPG
Type: Package
Version: 1.0
Date: 2015-03-10
License: GPL (>= 3)

Author(s)

Jacopo Soriano

Maintainer: Jacopo Soriano <jacopo.soriano@gmail.com>

References

Literature or other references for background information

See Also

Optional links to other man pages, e.g. <pkg>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
n = c(250, 250)
p = 4

Y1 = rbind( matrix( rnorm( n[1]*p), ncol = p), matrix( rnorm(n[2]*p) + 3, ncol = p))
Y2 = rbind( matrix( rnorm( n[1]*p), ncol = p), matrix( rnorm(n[2]*p) + 4, ncol = p))
Y = rbind(Y1, Y2)
C = c( rep(1,sum(n)), rep(2,sum(n)))

ans = mpg(Y, C)  
plotDiff(ans, type = "weight")
plotDiff(ans, type = "shift")

jacsor/MPG documentation built on May 18, 2019, 9:05 a.m.