indi_like: Create likelihoods for a particular observation/intervention...

Description Usage Arguments Examples

View source: R/indi_like.R

Description

An alternative to precomputing likelihood of all possible data patterns for when the problem is too large

Usage

1
indi_like(graph, int, dat, sa, po, combination_function = "noisy_or")

Arguments

graph

the true graph

int

the intervention performed

dat

the outcome observed

sa

spontaneous activation rate

po

power of causal links

combination_function

the way in which multiple active causes interact, defaults to noisy_or, currently no other option

Examples

1
indi_like(DAGs_3[,,15], c(1,0,0), c(1,1,1), .1, .8)

neilbramley/acl_source documentation built on May 29, 2019, 6:53 p.m.