LF_static: Static Likelihood Factor

LF_staticR Documentation

Static Likelihood Factor

Description

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.

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

Other Likelihood objects: CF_Likelihood, LF_base, LF_derived, LF_emp, LF_fit, LF_known, LF_targeted, Likelihood, Targeted_Likelihood, define_lf()


jeremyrcoyle/tmle3 documentation built on May 20, 2022, 7:36 a.m.