initialize {heteromixgm}R Documentation

initialize

Description

Initializes parameters to be used in the approximate method algorithm.

Usage

initialize(y, ncores)

Arguments

y

Data.

ncores

Number of cores to be used during parallel computing.

Value

ES

Expectation of covariance matrices ( diagonal scaled to 1) of the Gaussian copula graphical model.

Z

New transformation of the data based on given or default Sigma.

lower_upper

Lower and upper truncation points for the truncated normal distribution.

Author(s)

Sjoerd Hermes, Joost van Heerwaarden and Pariya Behrouzi
Maintainer: Sjoerd Hermes sjoerd.hermes@wur.nl

References

1. Hermes, S., van Heerwaarden, J., and Behrouzi, P. (2022). Copula graphical models for heterogeneous mixed data. arXiv preprint, arXiv:2210.13140.

Examples

y <- list(matrix(runif(25), 5, 5),matrix(runif(25), 5, 5),matrix(runif(25),
5, 5))
ncores <- 1
initialize(y, ncores)

[Package heteromixgm version 1.0.0 Index]