Description Usage Arguments Details Value Author(s) References See Also Examples
This function is for debugging only and for checking if the observed data log likelihood is consistent for each EM iteration.
1 |
PARAM |
a set of parameters. |
This function will provide an observed data log likelihood based on the
current parameter PARAM
.
This function will take in information from global, but
no global variables will be updated by this function.
This function also don't take care the numerical issues, so the return value may be inaccurate sometimes.
An observed data log likelihood will be returned.
This value can quickly compare with the log likelihood computed inside
em.onestep
. Small difference is allowed, but
large difference indicates bugs of code or illness of data.
Wei-Chen Chen wccsnow@gmail.com and George Ostrouchov.
Programming with Big Data in R Website: https://pbdr.org/
1 2 3 4 5 6 7 | ## Not run:
# This is a core function for em.estep()
# see the source code for details.
# Reset .pmclustEnv$CONTROL$debug to turn on this function
# automatically for each EM iteration.
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.