BMDS | R Documentation |
Wrapper to rjags
to estimate the Bayesian Multidimensional Scaling model.
BMDS(data, posStims, negStims, z, fname=NULL, n.sample = 2500, ...)
data |
A numeric |
posStims |
A vector of two integer values identifying the row numbers of observations on the first and second dimension, respectively, which are to be constrained to be positive. |
negStims |
A vector of two integer values identifying the row numbers of observations on the first and second dimension, respectively, which are to be constrained to be negative. |
z |
A matrix with the same number of rows as the data and two columns giving the constraints to be imposed on the point configuration. All unconstrained points should be missing ( |
fname |
A string giving the file name where the JAGS code for the model will be written. |
n.sample |
Number of posterior samples to save. |
... |
Other arguments to be passed down to the |
A list that will include some of the following:
zhat |
An object of class |
zhat.ci |
An object of class |
a |
An object of class |
b |
An object of class |
resp.samples |
A matrix containing the implied MCMC samples of the respondent ideal points. |
resp.sum |
A |
Hare, Christopher, David A. Armstrong II., Ryan Bakker, Royce Carroll and Keith Poole. 2015. ‘Using Bayesian Aldrich-McKelvey Scaling to Study Citizens Ideological Prefer- ences and Perceptions’ American Journal of Political Science 59(3): 759-774.
aldmck
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.