Extract word parameters beta and psi in an appropriate model parameterization
# S3 method for wordfish coef(object, form = c("poisson", "multinomial"), ...)
object | an object of class wordfish |
---|---|
form | which parameterization of the model to return parameters for |
... | extra arguments |
A data.frame of word parameters from a wordfish model in one or other parameterization.
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.
Will Lowe