Description Usage Arguments Value
View source: R/CUE_vec_J_bin.R
CUE_vec_J_bin
Generates newton raphson steps for the plmed
fitting functions.
1 2 3 4 5 6 7 8 9 10 11 12 |
par |
vector containing beta and augmented nuisance parameters, optionally with a lagrange multiplier the final componenet. |
X |
Vector of exposures |
M |
Vector of mediators |
Y |
Vector of outcomes |
Z |
Design matrix of confounder models |
method |
The method to be used. See ‘Details’. |
med_prop |
Hypothesised mediation proportion for constrained optimisation.
Requires method |
Sig |
Constant covariance matrix must be prespecified when using |
A list containing the newton-raphson step for use with newton_raph
as well as variance and score estimates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.