beta.special function

Compute set of intervention effects

Compute set of intervention effects

This function is DEPRECATED! Use ida instead.

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, y.pos: integer column positions of xx and yy 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 a UDAG to a PDAG; "rand": udag2pdag; "relaxed": udag2pdagRelaxed; "retry": udag2pdagSpecial.

Returns

estimates of intervention effects

Author(s)

Markus Kalisch (kalisch@stat.math.ethz.ch )

See Also

pcAlgo, dag2cpdag; beta.special.pcObj for a fast version of beta.special(), using a precomputed pc-object.