naive.getug.norm {lcd}R Documentation

A naive function to get an undirected graph for normal data

Description

Learns an undirected independence graph from a given data set. The data are assumed to be normally distributed.

Usage

naive.getug.norm(data, p.value)

Arguments

data a data matrix with rows corresponding to observations and columns corresponding to random variables.
p.value the thresholding p-value for each conditional independence test.

Details

For each pair of random variables, the function performs a conditional independence using the partial correlation coefficient. If the p-value of the test is smaller than the given threshold, then there will be an edge on the output graph. The function essentially uses the global Markov property of the undirected graph.

Value

The adjacency matrix of the computed undirected graph, with dimnames the corresponding random variables.

Author(s)

Zongming Ma and Xiangrui Meng

References

Lauritzen, S. L. (1996). Graphical Models. Clarendon Press, Oxford.


[Package lcd version 0.7-2 Index]