aldmck is a function that takes a matrix of perceptual data, such as
liberal-conservative rankings of various stimuli, and recovers the true
location of those stimuli in a spatial model. It differs from procedures
such as wnominate, which instead use preference data to estimate
candidate and citizen positions. The procedure here, developed by John
Aldrich and Richard McKelvey in 1977, is restricted to estimating data
with no missing values and only in one dimension. Please refer to the
blackbox and blackbox_transpose functions in this package for
procedures that accomodate missing data and multidimensionality estimates.aldmck(data, respondent = 0, missing=NULL, polarity, verbose=FALSE)aldmck should print out detailed
output when scaling the data.aldmck.data,
otherwise they are generated sequentiall as 'stim1', 'stim2', etc.interceptweightidealptselfplacedata argument if respondent is not set to 0. }
polinfo### Loads and scales the Liberal-Conservative scales from the 1980 NES.
data(LC1980)
result <- aldmck(data=LC1980, polarity=2, respondent=1, missing=c(0,8,9),verbose=TRUE)
summary(result)
plot.aldmck(result)Run the code above in your browser using DataLab