analytic_linear_gaussian_conditining: Return the mean and the covariance matrix of the conditional...

View source: R/R6causal_linear.R

analytic_linear_gaussian_conditiningR Documentation

Return the mean and the covariance matrix of the conditional distribution of a linear Gaussian SCM

Description

Return the mean and the covariance matrix of the conditional distribution of a linear Gaussian SCM

Usage

analytic_linear_gaussian_conditining(scm, situation)

Arguments

scm

A linear Gaussian SCM

situation

A list with the following element:

  • condition : either a string that gives an SQL query ( e.g. "select x,y,z from DATA where" ) or a data.table consisting of the valid rows ( e.g. data.table::data.table( x = 0, y = 0))


R6causal documentation built on May 29, 2024, 4:46 a.m.