scorevector {penMSM} | R Documentation |
This function calculates the score vector needed for the estimation of multistate models using the Fisher scoring algorithm.
scorevector(beta, X, risksetlist, event)
beta |
vector of regression coefficients. |
X |
design matrix. |
risksetlist |
list of length |
event |
non-censoring event indicator. |
This function implements the score vector (i.e., the
first partial derivative of the log partial likelihood with respect
to the components of the regression effect vector beta
).
Score vector scorevector
.
Holger Reulen
## Not run: scorevector(beta, X, risksetlist, event)