forked from quanteda/quanteda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata_dfm_lbgexample.Rd
28 lines (28 loc) · 1.03 KB
/
data_dfm_lbgexample.Rd
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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data-documentation.R
\docType{data}
\name{data_dfm_lbgexample}
\alias{data_dfm_lbgexample}
\alias{data_dfm_LBGexample}
\title{dfm from data in Table 1 of Laver, Benoit, and Garry (2003)}
\format{A \link{dfm} object with 6 documents and 37 features.}
\usage{
data_dfm_lbgexample
}
\description{
Constructed example data to demonstrate the Wordscores algorithm, from Laver
Benoit and Garry (2003), Table 1.
}
\details{
This is the example word count data from Laver, Benoit and Garry's
(2003) Table 1. Documents R1 to R5 are assumed to have known positions:
-1.5, -0.75, 0, 0.75, 1.5. Document V1 is assumed unknown, and will have a
raw text score of approximately -0.45 when computed as per LBG (2003).
}
\references{
Laver, M., Benoit, K.R., & Garry, J. (2003).
\href{https://kenbenoit.net/pdfs/WORDSCORESAPSR.pdf}{Estimating Policy
Positions from Political Text using Words as Data}. \emph{American
Political Science Review}, 97(2), 311--331.
}
\keyword{data}