View source: R/ltmleMediation_TMLECalcs.R
FixScoreEquation | R Documentation |
In case the GLM did not converge and the TMLE does not solve the score equation, attempt to solve the score equation directly.
FixScoreEquation( Qstar.kplus1, h.g.ratio, uncensored, intervention.match, is.deterministic, deterministic.Q, off, X, regimes.with.positive.weight )
Qstar.kplus1 |
Estimate of the expectation with respect to the distribution of the node one ahead of the current node given the past (dimension: n x num.regimes). |
h.g.ratio |
I() * h * observation.weights * cum.q.ratio / g |
uncensored |
Uncensored samples |
intervention.match |
Samples that match the rule. |
is.deterministic |
TO DO |
deterministic.Q |
TO DO |
off |
offset used for TMLE. |
X |
TO DO |
regimes.with.positive.weight |
Regimes with positive weight. |
Returns solved score equation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.