ErdosRenyi: Generate Erdos-Renyi precision matrix

Description Usage Arguments Value References Examples

View source: R/ErdosRenyi.R

Description

Estimate a precision matrix with a Erdos-Renyi network structure and simulate multivariate normal data.

Usage

1
ErdosRenyi(p, prop, numT)

Arguments

p

Dimension of network

prop

rewiring probability

numT

number of timepoints

Value

A list with components

Precision

Estimated p by p inverse covariance matrix

Data

Data matrix containing the simulated time series for each region (numT by p data matrix)

References

Csardi G, Nepusz T: The igraph software package for complex network research, InterJournal, Complex Systems 1695. 2006. http://igraph.org

Examples

1
2
3
fit<-ErdosRenyi(40,.15,200)
fit$Precision
fit$Data

IxavierHiggins/siGGMrepo documentation built on May 21, 2019, 9:39 a.m.