PC_smallset: PC algorithm at level k

Description Usage Arguments Value

View source: R/helpers.R

Description

this is standard. modified from pcalg package

Usage

1
PC_smallset(p, ghat, k, h, SepSets = NULL, CIFUN, POM = NULL, IO = NULL)

Arguments

p:

number of variables

ghat:

working graph estimate (undirected skeleton)

k:

level

h:

dictionary for checked CI statements

SepSets:

working Separators

CIFUN:

CI funtion CIFUN(x,y,S) returns 0 (dependence) or 1 (independence)

POM:

partial ordering matrix

IO:

incomplete ordering

Value

loglikelihood


WY-Chen/DAGDNA documentation built on Dec. 18, 2021, 7:14 p.m.