Description Usage Arguments Details Value Author(s) See Also
Predicts positions of new documents using a fitted Wordfish model
1 2 3 4 |
object |
A fitted wordfish model |
newdata |
An optional data frame or object of class wfm in which to look for word counts to predict document ideal points which to predict. If omitted, the fitted values are used. |
se.fit |
A switch indicating if standard errors are required. |
interval |
Type of interval calculation |
level |
Tolerance/confidence level |
... |
further arguments passed to or from other methods. |
Standard errors for document positions are generated by numerically inverting the relevant Hessians from the profile likelihood of the multinomial form of the model.
predict.wordfish
produces a vector of predictions or a matrix of
predictions and bounds with column names ‘fit’ and ‘se.fit’, and
with ‘lwr’, and ‘upr’ if ‘interval’ is also set.
Will Lowe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.