View source: R/estimate_likelihood.R
estimate_initial_likelihood | R Documentation |
Function to compute initial estimates of nuisance functions.
estimate_initial_likelihood(
W,
A,
Y,
weights = NULL,
sl3_Learner_pA1W,
sl3_Learner_EYAW,
folds = 10,
outcome_type = NULL
)
W |
A column-named matrix of baseline variables. |
A |
A binary vector with values in 0,1 encoding the treatment assignment. |
Y |
A numeric vector storing the outcome values. |
sl3_Learner_pA1W |
A |
sl3_Learner_EYAW |
A |
folds |
A number representing the number of folds to use in cross-fitting or a fold object from the package |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.