Estimation of CPDAG/PAG and causal inference using the IDA algorithm


[Package List] [Top]

Documentation for package ‘pcalg’ version 1.0-2

User Guides and Package Vignettes

Read overview or browse directory.

Help Pages

beta.special Compute set of intervention effects
beta.special.pcObj Compute set of intervention effects in a fast way
binCItest Test for (conditional) independence for binary data
compareGraphs Compare two graphs in terms of TPR, FPR and TDR
condIndFisherZ Conditional Independence by Fisher's Z-Transformation
corGraph Computing the correlation graph
dag2cpdag Convert a DAG to a CPDAG
disCItest Test for (conditional) independence for discrete data
dsep Test for d-separation in a DAG
dsepTest Test for d-separation in a DAG
fci Estimate the equivalence class of a MAG (PAG) using the FCI Algorithm
fciAlgo-class Class "fciAlgo"
gaussCItest Test for (conditional) independence for gaussian data
getNextSet Iteration through a list of all combinations of choose(n,k)
gSquareBin Test for (conditional) independence for binary data
gSquareDis Test for (conditional) independence for discrete data
ida Estimate multiset of possible total causal effects from observational data
idaFast Estimate multiset of possible total causal effects for several target variables at the same time.
mcor Compute Correlation Matrix
pc Estimate the equivalence class of a DAG using the PC algorithm
pcAlgo PC-Algorithm: Estimate the Underlying Graph (Skeleton) or Equivalence Class (CPDAG) of a DAG
pcAlgo-class Class "pcAlgo"
pcorOrder Compute Partial Correlations
pcSelect PC-Select: Estimate subgraph around a response variable
pcSelect.presel PC-Select preselection: Estimate subgraph around a response variable using preselection
pdag2dag Extend a Partially Directed Acyclic Graph (PDAG) to a DAG
pdsep Compute possible d-sep for each node and test and adapt graph accordingly
plot,fciAlgo-method Class "fciAlgo"
plot,pcAlgo-method Class "pcAlgo"
plotAG Plot partial ancestral graphs (PAG)
plotSG Plot the subgraph around a Specific Node in a Graph Object
qreach Compute possible d-sep of node x
randomDAG Generate a Directed Acyclic Graph (DAG) randomly
rmvDAG Generate Multivariate Data according to a DAG
shd Compute Structural Hamming Distance (SHD)
show,fciAlgo-method Class "fciAlgo"
show,pcAlgo-method Class "pcAlgo"
skeleton Estimate the skeleton of a DAG using the PC Algorithm
summary,fciAlgo-method Class "fciAlgo"
summary,pcAlgo-method Class "pcAlgo"
udag2pag Extend a pcAlgo-object containing a skeleton to a PAG
udag2pdag Extend a pcAlgo-object containing a skeleton to a PDAG
udag2pdagRelaxed Extend a pcAlgo-object containing a skeleton to a PDAG
udag2pdagSpecial Extend a pcAlgo-object containing a skeleton to a PDAG using different methods if problems occur
zStat Conditional Independence by Fisher's Z-Transformation