Log-likelihood function of a CUB model with covariates for...

Compute the log-likelihood of a CUB model with a shelter effect for the given absolute frequency distribution.

1 | ```
loglikcubshe(m, freq, pai1, pai2, csi, shelter)
``` |

`m` |
Number of ordinal categories |

`freq` |
Vector of the absolute frequency distribution |

`pai1` |
Mixing coefficient for the shifted Binomial component of the mixture distribution |

`pai2` |
Mixing coefficient for the discrete Uniform component of the mixture distribution |

`csi` |
Feeling parameter |

`shelter` |
Category corresponding to the shelter choice |

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.