plot.InvariantCausalPrediction function

Plots of "InvariantCausalPrediction" objects

Plots of "InvariantCausalPrediction" objects

Plots confidence intervals for invariant causal prediction (output of ICP function)

## S3 method for class 'InvariantCausalPrediction' plot(x, maxshow = 50, col1 = NULL, col2 = NULL, col3 = NULL, mar = c(10, 4, 3, 1), lwd = 1, ...)

Arguments

  • x: Object of class "InvariantCausalPrediction", as generated by function ICP.
  • maxshow: Maximal number of variables to show confidence intervals for
  • col1: Colour of confidence intervals generated by accepted sets of variables (defaults to light red).
  • col2: Colour of point-estimates generated by accepted sets of variables (defaults to light red).
  • col3: Colour of confidence intervals generated by procedure (defaults to blue).
  • mar: Margins for the figure (might need to be adjusted to allow for long variable names.
  • lwd: Scaling of the width of the lines used for individual confidence intervals.
  • ...: Additional inputs to generic plot function (not used).

Returns

Does not return an object.

References

Jonas Peters, Peter Buhlmann, Nicolai Meinshausen (2015):

Causal inference using invariant prediction: identification and confidence intervals

arxiv preprint http://arxiv.org/abs/1501.01332

Author(s)

Nicolai Meinshausen meinshausen@stat.math.ethz.ch

See Also

ICP

  • Maintainer: Nicolai Meinshausen
  • License: GPL
  • Last published: 2019-11-10

Useful links