coef.wordfish: Extract Word Parameters

Description Usage Arguments Details Value Author(s) See Also

View source: R/wordfish.R

Description

Extract word parameters beta and psi in an appropriate model parameterization

Usage

1
2
## S3 method for class 'wordfish'
coef(object, form=c('multinomial', 'poisson'), ...)

Arguments

object

an object of class wordfish

form

which parameterization of the model to return parameters for

...

extra arguments

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.

Value

A data.frame of word parameters from a wordfish model in one or other parameterization.

Author(s)

Will Lowe

See Also

wordfish


austin documentation built on May 2, 2019, 5:48 p.m.