predict.textmodel_wordfish()
returns estimated document scores and
confidence intervals. The method is provided for consistency with other
textmodel_*()
methods, but does not currently allow prediction on
out-of-sample data.
# S3 method for textmodel_wordfish
predict(
object,
se.fit = FALSE,
interval = c("none", "confidence"),
level = 0.95,
...
)# S3 method for textmodel_wordfish
coef(object, margin = c("both", "documents", "features"), ...)
coefficients.textmodel_wordfish(object, ...)
a fitted wordfish model
if TRUE
, return standard errors as well
type of confidence interval calculation
tolerance/confidence level for intervals
not used
which margin of parameter estimates to return: both (in a list), or just document or feature parameters
coef.textmodel_wordfish()
returns a matrix of estimated
parameters coefficients for the specified margin.