Description Usage Arguments Value
MSTEP executes one iteration of a Newton-Raphson
algorithm as part of the maximization (M-step) of the EM
algorithm. Given the matrix of expected sufficient
statistics returned by ESTEP, this function
uses closed form gradient and hessian expressions to
efficiently optimize the current settings of the
coefficients beta. This is called up to 10 times per
M-step within EM.run
1 |
matrix |
A matrix in the format returned by
|
betaVec |
A vector of regression coefficients |
num.patients |
An integer, the number of unique patients |
patients.design |
A design matrix in the format
generated by |
An updated coefficient vector after one Newton-Raphson step
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.