Description Usage Arguments Value Author(s) References See Also
Toolbox function that bridges ideal point estimates computed from two separate datasets.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | ipbridging(
d1 = NULL,
d2 = NULL,
bridge.method = "procrustes",
anchors.method = "subsample",
anchors.subsample.method = "random",
anchors.subsample.pr = 0.1,
anchors.subsample.wgt.d1 = NULL,
anchors.subsample.wgt.d2 = NULL,
anchors.selectrows.d1 = 1:100,
anchors.selectrows.d2 = 1:100,
anchors.selectrows.data = NULL,
anchors.newdata = NULL,
input.type = "responses",
ip.method = "ooc",
ip.dims = 2,
ip.polarity.d1 = c(1, 1),
ip.polarity.d2 = c(1, 1),
tr.trans.d2 = TRUE,
tr.opt = FALSE,
tr.opt.iter.n = 10000,
tr.opt.sample.n = 30,
tr.opt.th.inline = 0.5,
tr.blend = TRUE,
tr.blend.th1 = 0.05,
tr.blend.th2 = 0.15,
...
)
|
d1 |
First dataset that contains some policy preferences. Must be one of following types:
|
d2 |
Second dataset that contains some policy preferences. Must be the same class of object as |
bridge.method |
Method of bridging. Currently, following methods are aviailable:
|
anchors.method |
Method to select anchors to bridge ideal points.
Following values are currently available.
Ignored if
Note that |
anchors.subsample.method |
Method to sample anchors. Following values are currently available:
|
anchors.subsample.pr |
Numeric vector of length 1 or 2.
Used when |
anchors.subsample.wgt.d1 |
Optional weights passed to |
anchors.subsample.wgt.d2 |
Optional weights passed to |
anchors.selectrows.d1 |
Must be the vector of positive integers.
Specify the row numbers of anchors in |
anchors.selectrows.d2 |
Must be the vector of positive integers.
Specify the row numbers of anchors in |
anchors.selectrows.data |
Required if |
anchors.newdata |
Matrix or data.frame of anchors. Must have identical
columns as |
input.type |
The input type of |
ip.method |
Method of ideal point computation (used only when
For |
ip.dims |
Number of dimension in ideal point computation. Must be a positive
integer between 1 and 10. If |
ip.polarity.d1 |
A vector specifying the row number of the |
ip.polarity.d2 |
A vector specifying the row number of the |
tr.trans.d2 |
Used if |
tr.opt |
Used if |
tr.opt.iter.n |
Used if |
tr.opt.sample.n |
Used if |
tr.opt.th.inline |
Used if |
tr.blend |
Used if |
tr.blend.th1 |
Used if |
tr.blend.th2 |
Used if |
... |
Additional arguments passed to the ideal point estimation function
called in |
A list with the following elements along with specified argument values
ip1
: Original ip1
matrix.
ip2_trans
: Transformed ip2
matrix mapped on ip1
space.
ip2_orig
: Original ip2
matrix
Tzu-Ping Liu jamesliu0222@gmail.com, Gento Kato gento.badger@gmail.com, and Sam Fuller sjfuller@ucdavis.edu.
Jessee, S. (2016), '(How) Can We Estimate the Ideology of Citizens and Political Elites on the Same Scale?', American Journal of Political Science 60(4), 1108–1124.
Shor, B.; Berry, C. & McCarty, N. (2010), 'A Bridge to Somewhere: Mapping State and Congressional Ideology on a Cross-institutional Common Space', Legislative Studies Quarterly 35(3), 417–448.
ipest
, setanchors
,
bridge.linearmap
,
oocflex
, oc
, blackbox
,
wnominate
, ideal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.