Description Usage Arguments Value
ESTEP
performs one E-step of the EM algorithm,
computing expected sufficient statistics given current
settings of the parameters. This function is the
"accelerated" version, meaning that intervals with no
observed changes are computed more efficiently using
closed form expressions, bypassing generating function
and FFT calculations on these intervals.
1 2 | ESTEP(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.