Description Usage Format Value Constructor See Also
Incorporate existing knowledge about the likelihood
Inherits from LF_base
; see that page for documentation on likelihood factors in general.
1 |
R6Class
object.
LF_base
object
define_lf(LF_fit, name, mean_fun, density_fun, ..., type = "density")
name
character, the name of the factor. Should match a node name in the nodes specified by tmle3_Task$npsem
mean_fun
A function that takes a sl3 regression task and returns true conditional means
density_fun
A function that takes a sl3 regression task and returns true conditional densities
...
Not currently used.
type
character, either "density", for conditional density or, "mean" for conditional mean
Other Likelihood objects: CF_Likelihood
,
LF_base
, LF_derived
,
LF_emp
, LF_fit
,
LF_static
, Likelihood
,
Targeted_Likelihood
,
define_lf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.