fit_fluctuation {txshift} | R Documentation |
Fit One-Dimensional Fluctuation Model for Updating Initial Estimates
Description
Fit One-Dimensional Fluctuation Model for Updating Initial Estimates
Usage
fit_fluctuation(
Y,
Qn_scaled,
Hn,
ipc_weights = rep(1, length(Y)),
method = c("standard", "weighted"),
flucmod_tol = 50
)
Arguments
Y |
A |
Qn_scaled |
An object providing the value of the outcome evaluate
after inducing a shift in the exposure. This object should be passed in
after being constructed by a call to |
Hn |
An object providing values of the auxiliary ("clever") covariate,
constructed from the treatment mechanism and required for targeted minimum
loss estimation. This object object should be passed in after being
constructed by a call to |
ipc_weights |
A |
method |
A |
flucmod_tol |
A |
Details
Procedure for fitting a one-dimensional fluctuation model to update the initial estimates of the outcome regression based on the auxiliary covariate. These updated estimates are subsequently used to construct the TML estimator of the counterfactual mean under a modified treatment policy.
Value
A list
containing the fluctuation model (a glm
object)
produced by logistic regression, a character
vector indicating the
type of fluctuation (whether the auxiliary covariates was used as a weight
or included directly in the model formula), the updated estimates of the
outcome regression under the shifted value of the exposure, and the updated
estimates of the outcome regression under the natural value of exposure.