Usage
wnominate(rcObject, ubeta=15, uweights=0.5, dims=2, minvotes=20, lop=0.025,trials=3, polarity, verbose=FALSE)
Arguments
rcObject
An object of class rollcall, from Simon Jackman's pscl package.
ubeta
integer, beta parameter for NOMINATE. It is strongly recommended that
you do not change the default.
uweights
integer, weight parameter for NOMINATE. It is strongly recommended
that you do not change the default.
dims
integer, number of dimensions to estimate. Must be nonnegative and cannot
exceed 10 dimensions.
minvotes
minimum number of votes a legislator must vote in for them to be analyzed.
lop
A proportion between 0 and 1, the cut-off used for excluding lopsided
votes, expressed as the proportion of non-missing votes on the minority side.
The default, lop=0.025, eliminates votes where the minority is smaller
than 2.5
overwrites the lopsided attribute in the RC object inputted.
trials
integer, number of bootstrap trials for standard errors. Any number set
below 4 here will not return any standard errors. Setting this number
to be large will slow execution of W-NOMINATE considerably.
polarity
a vector specifying the legislator in the data set who is conservative on
each dimension. For example, c(3,5) indicates legislator 3 is conservative
on dimension 1, and legislator 5 is conservative on dimension 2.
Alternatively, polarity can be specified as a string for legislator names
found in legis.names (ie. c("Bush", "Gore")) if every legislative name in
the data set is unique. Finally, polarity can be specified as a list (ie.
list("cd",c(4,5))) where the first list item is a variable from the roll
call object's legis.data, and the second list item is a conservative
legislator on each dimension as specified by the first list item.
list("cd",c(4,5)) thus specifies the legislators with congressional
district numbers of 4 and 5.
verbose
logical, indicates whether bills and legislators to be deleted should be
printed while data is being checked before ideal points are estimated.