run.Estep {coarseDataTools} | R Documentation |
The Expectation- or E-step for the EM algorithm implemented in EMforCFR(). Not meant to be called by users.
run.Estep(alpha, full.data, nlag, assumed.nu)
alpha |
Current estimates of the alpha parameters from the GLM model. |
full.data |
A matrix of observed data. See description in EMforCFR helpfile. |
nlag |
The number of time units for lagged data. Corresponds to length(assumed.nu). |
assumed.nu |
a vector of probabilities corresponding to the survival distribution, i.e. nu[i]=Pr(surviving i days | fatal case) |
A data matrix with the same format as full.data from the EMforCFR() documentation.
Nicholas G. Reich