Likelihood factor for a variable that only has one value with probability 1. This is used for static interventions. Inherits from LF_base; see that page for documentation on likelihood factors in general.

LF_static

Format

R6Class object.

Value

LF_base object

Constructor

define_lf(LF_static, name, type, value, ...)

name

character, the name of the factor. Should match a node name in the nodes specified by tmle3_Task$npsem

type

character, either "density", for conditional density or, "mean" for conditional mean

value

the static value

...

Not currently used.

Fields

value

the static value.

See also