Skip to contents

Carroll et al. (2013) mixture model between Gaussian and quadratic utility, sampled via slice sampling (Neal 2003). Porting the slice sampler is beyond this session's budget.

Usage

morie_spatial_voting_alpha_nominate(
  votes,
  n_dims = 2L,
  n_samples = 500L,
  burn_in = 100L,
  seed = 42L
)

Arguments

votes

Vote matrix. @param n_dims Latent dimensions.

n_dims

Integer; latent ideal-point dimensionality (default 2).

n_samples

MCMC samples. @param burn_in Burn-in length.

burn_in

Integer; MCMC burn-in iterations to discard before summarising the posterior.

seed

RNG seed.

Value

Never returns; raises NotYetPorted.

References

Carroll, R., Lewis, J. B., Lo, J., Poole, K. T., and Rosenthal, H. (2013); Neal, R. M. (2003) Annals of Statistics.

Examples

if (FALSE) morie_spatial_voting_alpha_nominate(matrix(0, 5, 5)) # \dontrun{}