Description Usage Arguments Value Author(s) Examples
View source: R/PLMIXfunctions.R
summary
method for class mpPLMIX
. It provides summaries for the MAP estimation of a Bayesian mixture of Plackett-Luce models.
1 2 |
object |
Object of class |
digits |
Number of decimal places for rounding the summaries. |
... |
Further arguments passed to or from other methods (not used). |
A list of summaries for the mpPLMIX
class object:
|
Numeric vector with the MAP estimates of the G mixture weights. Returned only when when G>1. |
|
Numeric GxK matrix with the MAP estimates of the component-specific support parameters. |
|
Numeric GxK matrix with the estimated modal orderings of each mixture component. |
|
Numeric vector with the relative frequency distribution of the mixture component memberships based on MAP allocation. Returned only when when G>1. |
|
Numeric scalar with the percentage of MAP algorithm convergence over the multiple starting points. Returned only when |
Cristina Mollica and Luca Tardella
1 2 3 4 5 6 7 8 | ## Summary of the MAP procedure with a single starting point
data(d_carconf)
MAP <- mapPLMIX(pi_inv=d_carconf, K=ncol(d_carconf), G=3)
summary(MAP)
## Summary of the MAP procedure with 5 starting points
MAP_multi <- mapPLMIX_multistart(pi_inv=d_carconf, K=ncol(d_carconf), G=3, n_start=5)
summary(MAP_multi)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.