U.S. Twitter Following Data

Share:

Description

Data from U.S. Twitter follower data, obtained from Barbera's (2015) replication archive.

Usage

1

Value

ustweet

list, containing the following elements:

  • data Term-document matrix, formatted for input to networkIRT().

  • starts Start values, formatted for input to networkIRT().

  • priors Priors, formatted for input to networkIRT().

References

Pablo Barbera. 2015. “Birds of the Same Feather Tweet Together: Bayesian Ideal Point Estimation Using Twitter Data.” Political Analysis 23(1), 76-91

Kosuke Imai, James Lo, and Jonathan Olmsted. “Fast Estimation of Ideal Points with Massive Data.” Working Paper available at http://imai.princeton.edu/research/fastideal.html.

See Also

'networkIRT'.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## Not run: 
data(ustweet)

## A ridiculously short run to pass CRAN
## For a real test, set maxit to a more reasonable number to reach convergence
lout <- networkIRT(.y = ustweet$data,
                   .starts = ustweet$starts,
                   .priors = ustweet$priors,
                   .control = {list(verbose = TRUE,
                                    maxit = 3,
                                    convtype = 2,
                                    thresh = 1e-6,
                                    threads = 1
                                    )
                           },
                   .anchor_item = 43
                   )


## End(Not run)