Learn R Programming

pcalg (version 1.1-4)

beta.special: Compute set of intervention effects

Description

This function is DEPRECATED! Use ida instead.

Usage

beta.special(dat=NA, x.pos, y.pos, verbose=0, a=0.01, myDAG=NA,
myplot=FALSE, perfect=FALSE, method="local", collTest=TRUE, pcObj=NA,
all.dags=NA, u2pd="rand")

Arguments

dat
data matrix
x.pos
Column of x in dat
y.pos
Column of y in dat
verbose
0=no comments, 2=detail on estimates
a
significance level of tests for finding CPDAG
myDAG
needed if true correlation matrix shall be computed
myplot
plot estimated graph
perfect
True cor matrix is calculated from myDAG
method
"local" - local (all combinations of parents in regr.); "global" - all DAGs
collTest
True - Exclude orientations of undirected edges that introduce a new collider
pcObj
Fit of PC Algorithm (CPDAG); if this is available, no new fit is done
all.dags
All DAGs in the format of function allDags; if this is available, no new function call allDags is done
u2pd
Function for converting udag to pdag;"rand": udag2pdag;"relaxed": udag2pdagRelaxed;"retry": udag2pdagSpecial

Value

  • estimates of intervention effects