-
Notifications
You must be signed in to change notification settings - Fork 4
/
coef.wordfish.Rd
39 lines (35 loc) · 1.03 KB
/
coef.wordfish.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
29
30
31
32
33
34
35
36
37
38
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/wordfish.R
\name{coef.wordfish}
\alias{coef.wordfish}
\title{Extract Word Parameters}
\usage{
\method{coef}{wordfish}(object, form = c("multinomial", "poisson"), ...)
}
\arguments{
\item{object}{an object of class wordfish}
\item{form}{which parameterization of the model to return parameters for}
\item{...}{extra arguments}
}
\value{
A data.frame of word parameters from a wordfish model in one or
other parameterization.
}
\description{
Extract word parameters beta and psi in an appropriate model
parameterization
}
\details{
Slope parameters and intercepts are labelled beta and psi respectively. In
multinomial form the coefficient names reflect the fact that the
first-listed word is taken as the reference category. In poisson form, the
coefficients are labeled by the words the correspond to.
Note that in both forms there will be beta and psi parameters, so make sure
they are the ones you want.
}
\author{
Will Lowe
}
\seealso{
\code{\link{wordfish}}
}