GraphKit (version 0.4)

graph_prop: Graph Prop

Description

Computes the value of boolean property on an estimated conditional independence graph.

Usage

graph_prop(x, sigmaHat, thetaHat, prop = c("connectivity", "longest_chain",
  "max_degree", "largest_clique", "chromatic_number", "num_singletons", "girth",
  "matching", "planarity", "bipartite", "acyclic"), k = 1, numB = 1000,
  alpha = 0.05)

Arguments

x
A sample of data
sigmaHat
A sample covariance matrix for x
thetaHat
A sample precision matrix estimated from sigmaHat
prop
The monotone graph property to examine
k
The value to threshold numeric tests at
numB
The number of bootstrap samples to take Default: 1000
alpha
The significance level for the property test Default: 0.05

Value

The value of prop with sig. level alpha

Examples

Run this code
## Not run: ------------------------------------
# data(Xs,cov.hat,t.hat)
# graph_prop(x=Xs,sigmaHat=cov.hat,thetaHat=t.hat,prop="conn",k=20)
## ---------------------------------------------

Run the code above in your browser using DataLab