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., & Behrouzi, P. (2024). Copula graphical models for heterogeneous mixed data. Journal of Computational and Graphical Statistics, 1-15.

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 2.0.0 Index]