- Home
- CRAN
**CUB**: A Class of Mixture Models for Ordinal Data**cushforsim**: Simulation routine for CUSH models without covariates

# Simulation routine for CUSH models without covariates

### Description

Fit CUSH models without covariates to given ordinal data. It is useful for simulation
experiments since it performs the same steps as `CUSH`

, but with no printed output.

### Usage

1 | ```
cushforsim(m, ordinal, shelter)
``` |

### Arguments

`m` |
Number of ordinal categories |

`ordinal` |
Vector of ordinal responses |

`shelter` |
Category corresponding to the shelter choice |

### Value

An object of the class "CUSH", with null output for $BIC since the routine is only for simulation purposes

### See Also

`CUSH`

### Examples

1 2 3 4 5 6 7 8 | ```
data(relgoods)
m<-10
ordinal<-na.omit(relgoods[,45])
shelter<-1
simul<-cushforsim(m, ordinal, shelter)
simul$estimates
simul$loglik
simul$varmat
``` |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.

- auxmat: Auxiliary matrix
- betabinomial: Beta-Binomial probabilities of ordinal responses, with...
- betabinomialcsi: Beta-Binomial probabilities of ordinal responses, given...
- betar: Beta-Binomial distribution
- bitcsi: Shifted Binomial probabilities of ordinal responses
- bitgama: Shifted Binomial distribution with covariates
- chi2cub: Pearson X^2 statistic
- chi2cub1cov: Pearson X^2 statistic for CUB models with one discrete...
- chi2cub2cov: Pearson X^2 statistic for CUB models with one discrete...
- CUB: Main function for CUB models
- cub00: Main function for CUB models without covariates
- cub0q: Main function for CUB models with covariates for the feeling...
- CUBE: Main function for CUBE models
- cube000: Main function for CUBE models without covariates
- cubecov: Main function for CUBE models with covariates
- cubecsi: Main function for CUBE models with covariates only for...
- cubeforsim: Simulation routine for CUBE models without covariates
- cubforsim: Simulation routine for CUB models without covariates
- cubp0: Main function for CUB models with covariates for the...
- CUB_package: A Class of Mixture Models for Ordinal Data
- cubpq: Main function for CUB models with covariates for both the...
- cubshe: Main function for CUB models with a shelter effect
- cubvisual: Plot an estimated CUB model
- CUSH: Main function for CUSH models
- cush00: CUSH model without covariates
- cushcov: CUSH model with covariates
- cushforsim: Simulation routine for CUSH models without covariates
- deltaprob: Mean difference of a discrete random variable
- dissim: Normalized dissimilarity measure
- effe01: Auxiliary function for the log-likelihood estimation of CUB...
- effe10: Auxiliary function for the log-likelihood estimation of CUB...
- effecube: Auxiliary function for the log-likelihood estimation of CUBE...
- effecubecsi: Auxiliary function for the log-likelihood estimation of CUBE...
- effecush: Auxiliary function for the log-likelihood estimation of CUSH...
- effeihg: Auxiliary function for the log-likelihood estimation of IHG...
- effeihgcov: Auxiliary function for the log-likelihood estimation of IHG...
- ellecub: Log-likelihood function of a CUB model without covariates
- expcub00: Expectation of CUB models
- expcube: Expectation of CUBE models
- gini: Normalized Gini heterogeneity index
- Hadprod: Hadamard product of a matrix with a vector
- IHG: Main function for IHG models
- ihg00: Main function for IHG models without covariates
- ihgcov: Main function for IHG models with covariates
- inibest: Preliminary estimators for CUB models without covariates
- inibestcube: Naive estimates for CUBE models without covariates
- inibestcubecov: Preliminary parameter estimates for CUBE models with...
- inibestcubecsi: Preliminary estimates of parameters for CUBE models with...
- inibestgama: Preliminary parameter estimates of a CUB model with...
- inigrid: Grid-based preliminary parameter estimates for CUB models
- iniihg: Moment estimate for the preference parameter of the IHG...
- kkk: Sequence of combinatorial coefficients
- laakso: Normalized Laakso and Taagepera heterogeneity index
- logis: The logistic transform
- loglikCUB: Log-likelihood function for CUB models
- loglikcub00: Log-likelihood function of a CUB model without covariates
- loglikcub0q: Log-likelihood function of a CUB model with covariates for...
- loglikcube: Log-likelihood function for CUBE models
- loglikcubecov: Log-likelihood function of a CUBE model with covariates
- loglikcubecsi: Log-likelihood function of CUBE model with covariates only...
- loglikcuben: Log-likelihood function of CUBE models for ordinal data
- loglikcubp0: Log-likelihood function of a CUB model with covariates for...
- loglikcubpq: Log-likelihood function of a CUB model with covariates for...
- loglikcubshe: Log-likelihood of a CUB model with shelter effect
- loglikCUSH: Log-likelihood function for CUSH models
- loglikcush00: Log-likelihood function for a CUSH model without covariates
- loglikcushcov: Log-likelihood function for a CUSH model with covariates
- loglikihg: Log-likelihood function for IHG models
- loglikihgcov: Log-likelihood function for the IHG model with covariates
- logscore: Logarithmic score
- multicub: Joint plot of estimated CUB models in the parameter space
- plotloglikihg: Plot of the log-likelihood function of the IHG distribution
- probbit: Probability distribution of a shifted Binomial random...
- probcub00: Probability distribution of a CUB model without covariates
- probcub0q: Probability distribution of a CUB model with covariates for...
- probcube: Probability distribution of a CUBE model without covariates
- probcubp0: Probability distribution of a CUB model with covariates for...
- probcubpq: Probability distribution of a CUB model with covariates for...
- probcubshe1: probcubshe1
- probcubshe2: probcubshe2
- probcubshe3: probcubshe3
- probcush: Probability distribution of a CUSH model
- probihg: Probability distribution of an IHG model
- probihgcovn: Probability distribution of an IHG model with covariates
- Qdue: Auxiliary function for the log-likelihood estimation of CUBE...
- Quno: Auxiliary function for the log-likelihood estimation of CUBE...
- relgoods: Relational goods and Leisure time dataset
- simcub: Simulation routine for CUB models
- simcube: Simulation routine for CUBE models
- simcubshe: Simulation routine for CUB models with shelter effect
- simcush: Simulation routine for CUSH models
- simihg: Simulation routine for IHG models
- univer: Evaluation of the Orientation Services 2002
- varcovcub00: Variance-covariance matrix of a CUB model without covariates
- varcovcub0q: Variance-covariance matrix of CUB models with covariates for...
- varcovcubecov: Variance-covariance matrix of a CUBE model with covariates
- varcovcubeexp: Variance-covariance matrix for CUBE models based on the...
- varcovcubeobs: Variance-covariance matrix for CUBE models based on the...
- varcovcubp0: Variance-covariance matrix of CUB model with covariates for...
- varcovcubpq: Variance-covariance matrix of a CUB model with covariates for...
- varcovcubshe: Variance-covariance matrix for CUB models with shelter effect
- varcub00: Variance of CUB models without covariates
- varcube: Variance of CUBE models without covariates
- varmatCUB: Variance-covariance matrix for CUB models
- varmatCUBE: Variance-covariance matrix for CUBE models