Learn R Programming

MvBinary (version 1.1)

MvBinary-package: MvBinary a package for Multivariate Binary data

Description

MvBinary is a tool for fitting the distribution of correlated multivariate binary data.

Arguments

Details

Package:
MvBinary
Type:
Package
Version:
1.0.0
Date:
2015-11-03
License:
GPL-2
LazyLoad:
yes

References

Matthieu Marbac, Mohammed Sedki (2015). A Family of Blockwise One-Factor Distributions for Modelling High-Dimensional Binary Data. arXiv:1511.01343

Examples

Run this code
# Package loading
rm(list=ls())
require(MvBinary)

# Data loading
data(MvBinaryExample)

# Parameter estimation by the HAC-based algorithm on 2 cores
# where the EM algorithms are initialized 10 times
res.CAH <- MvBinaryEstim(MvBinaryExample, 2, nbinit.EM = 10)

# Summary of the estimated model
summary(res.CAH)

# Print the parameters of the estimated model
print(res.CAH)

Run the code above in your browser using DataLab