ustweet: U.S. Twitter Following Data

ustweetR Documentation

U.S. Twitter Following Data

Description

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

Usage

data(ustweet)

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


## 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)


emIRT documentation built on March 18, 2022, 5:36 p.m.

Related to ustweet in emIRT...