Nothing
##
## PURPOSE: Pseudo goodness-of-fit test for a normal mixture
## * method for class NMixMCMC
##
## AUTHOR: Arnost Komarek
## arnost.komarek[AT]mff.cuni.cz
##
## CREATED: 20/08/2009
##
## FUNCTIONS: NMixPseudoGOF.NMixMCMC.R
##
## ==================================================================
## *************************************************************
## NMixPseudoGOF.NMixMCMC
## *************************************************************
NMixPseudoGOF.NMixMCMC <- function(x, y, breaks, nbreaks=10, digits=3, ...)
{
if (x$prior$priorK != "fixed") stop("only implemented for models with fixed number of components")
if (x$nx_w > 1) stop("This function has not (yet) been implemented if a factor covariate on mixture weights is present.")
return(NMixPseudoGOF.default(x=y, scale=x$scale, w=x$poster.mean.w, mu=x$poster.mean.mu, Sigma=x$poster.mean.Sigma, breaks=breaks, nbreaks=nbreaks, digits=digits))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.