Description Usage Arguments Value
ESTEP.slow
performs one E-step of the EM
algorithm, computing expected sufficient statistics given
current settings of the parameters. This function is the
un-accelerated version, simply using the generating
function approach to compute necessary quantities for all
observation intervals.
1 2 | ESTEP.slow(betaVec, t.pat, num.patients, PATIENTDATA,
patients.design, s1.seq, s2.seq)
|
betaVec |
A vector, the setting of beta coefficients |
t.pat |
A number, the observation interval length |
num.patients |
An integer, number of unique patients |
PATIENTDATA |
A matrix in the form returned by
|
patients.design |
A design matrix in the same form
as returned by |
s1.seq |
A vector of complex arguments evenly spaced along the unit circle |
s2.seq |
A vector of complex arguments evenly spaced along the unit circle |
A list containing a matrix of the expected sufficient statistics as well as the observed log likelihood value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.