LF_emp: Likelihood Factor Estimated using Empirical Distribution

LF_empR Documentation

Likelihood Factor Estimated using Empirical Distribution

Description

Uses the empirical probability distribution (puts mass 1/n on each of the observations, or uses weights if specified) to estimate a marginal density. Inherits from LF_base; see that page for documentation on likelihood factors in general. Only compatible with marginal likelihoods (no parent nodes). Only compatible with densities (no conditional means). The type argument will be ignored if specified.

Format

R6Class object.

Value

LF_base object

Constructor

define_lf(LF_emp, name, ...)

name

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

...

Not currently used.

See Also

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


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