gslope: Graphical SLOPE

Description Usage Arguments Details Value References Examples

View source: R/gslope.R

Description

Computes precision matrix for graph models using graphical SLOPE.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
gslope(
  data,
  lambda = NULL,
  scaled = FALSE,
  mu = 1.1,
  max_iter = 10000,
  epsilon = 1e-04,
  threshold = 1e-04,
  alpha = 0.05
)

Arguments

data

a matrix containing observations of variables of interest.

lambda

vector of regularizers for SLOPE. By default computed based on Benjamini-Hochberg's method.

scaled

logical. The data need to be scaled so that it has mean = 0 and variance = 1. If TRUE, build-in data scaling will be omitted.

mu

correction for lambda scaling in ADMM algorithm.

max_iter

maximum number of iterations allowed in ADMM algorithm. Default 10 000.

epsilon

a value used to determine accuracy of the ADMM algorithm. Default 10e-4.

threshold

a value used to determine which variables in graphical model are not linked by an edge. The larger the value, the more variables will be unlinked. Default 10e-4.

alpha

significance level.

Details

gslope selects high probability graph structure for graphical model with likelihood-based methods combined with ordered L1-regularization. Namely, it solves - using ADMM algorithm - the following maximization problem:

log det Θ - tr(S Θ) - λ(Θ), subject to Θ \in S+,

where S is a sample covariance matrix, λ(Θ) is a series of regularizers for SLOPE and S+ denotes a set of symmetric, semidefinite matrices.

Value

returns a list containing following components:

References

Makowski, M., (2018). Precision matrix estimation in Gaussian graphical models. Master's Thesis. Uniwersytet Wroclawski.

Examples

1
gslope(mtcars, epsilon = 1e-3)

StatsIMUWr/gslope documentation built on Oct. 8, 2020, 1:25 a.m.