Learn R Programming

⚠️There's a newer version (2.7-12) of this package.Take me there.

pcalg (version 0.1-9)

Estimation of CPDAG/PAG and causal inference

Description

Standard and robust estimation the equivalence class of a Directed Acyclic Graph (DAG) via the PC-Algorithm. The equivalence class is represented by its (unique) Completetd Partially Directed Acyclic Graph (CPDAG). The function pcSelect implements variable selection techniques based on the PC-algorithm. Furthermore, a PAG instead of a CPDAG can be estimated if latent variables and/or selection variables are assumed to be present. Functions for causal inference (using do-calculus of Judea Pearl) are provided for CPDAGs.

Copy Link

Version

Install

install.packages('pcalg')

Monthly Downloads

1,818

Version

0.1-9

License

GPL (>= 2)

Maintainer

Markus Kalisch

Last Published

September 23rd, 2009

Functions in pcalg (0.1-9)

compareGraphs

Compare two graphs in terms of TPR, FPR and TDR
randomDAG

Generate a Directed Acyclic Graph (DAG) randomly
pcSelect

PC-Select: Estimate subgraph around a response variable
corGraph

Computing the correlation graph
mcor

Compute Correlation Matrix
pcSelect.presel

PC-Select preselection: Estimate subgraph around a response variable using preselection
shd

Compute Structural Hamming Distance (SHD)
pcAlgo

PC-Algorithm: Estimate the Underlying Graph (Skeleton) or Equivalence Class (CPDAG) of a DAG
udag2pdagSpecial

Extend a pcAlgo-object containing a skeleton to a PDAG using different methods if problems occur
dag2cpdag

Convert a DAG to a CPDAG
udag2pdagRelaxed

Extend a pcAlgo-object containing a skeleton to a PDAG
pdag2dag

Extend a PDAG to a DAG
rmvDAG

Generate Multivariate Data according to a DAG
beta.special

Compute set of intervention effects
condIndFisherZ

Conditional Independence by Fisher's Z-Transformation
pcalg-internal

Internal Pcalg Functions
udag2pag

Extend a pcAlgo-object containing a skeleton to a PAG
plotAG

Plot partial ancestral graphs (PAG)
pcAlgo-class

Class "pcAlgo"
beta.special.pcObj

Compute set of intervention effects in a fast way
pcorOrder

Compute Partial Correlations
udag2pdag

Extend a pcAlgo-object containing a skeleton to a PDAG
decHeur

Decision Heuristic: Should robust method for PC-algorithm be used?
getNextSet

Iteration through a list of all combinations of choose(n,k)