Description Usage Arguments Value See Also

View source: R/clustMD_InternalFunctions.R

Approximates the observed log likelihood.

1 2 | ```
ObsLogLikelihood(N, CnsIndx, G, Y, mu, Sigma, pi.vec, patt.indx, zlimits, J,
OrdIndx, probs.nom, model, perc.cut, K)
``` |

`N` |
the number of observations. |

`CnsIndx` |
the number of continuous variables. |

`G` |
the number of mixture components. |

`Y` |
an |

`mu` |
a |

`Sigma` |
a |

`pi.vec` |
the mixing weights. |

`patt.indx` |
a list of length equal to the number of observed response patterns. Each entry of the list details the observations for which that response pattern was observed. |

`zlimits` |
the truncation points for the latent data. |

`J` |
the number of variables. |

`OrdIndx` |
the sum of the number of continuous and ordinal (including binary) variables. |

`probs.nom` |
an array containing the response probabilities for each nominal variable for each cluster |

`model` |
the covariance model fitted to the data. |

`perc.cut` |
threshold parameters. |

`K` |
the number of levels for each variable. |

Output required for `clustMD`

function.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.