| LF_emp | R Documentation |
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.
R6Class object.
LF_base object
define_lf(LF_emp, name, ...)
namecharacter, the name of the factor. Should match a node name in the nodes specified by tmle3_Task$npsem
...Not currently used.
Other Likelihood objects:
CF_Likelihood,
LF_base,
LF_derived,
LF_fit,
LF_known,
LF_static,
LF_targeted,
Likelihood,
Targeted_Likelihood,
define_lf()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.