glance.harsm | R Documentation |
Glance at a harsm, hensm or linodds model.
## S3 method for class 'harsm'
glance(x, ...)
## S3 method for class 'hensm'
glance(x, ...)
x |
an object of type |
... |
arguments for generic consistency. |
Returns a table with information on the overall fit an estimated Harville or Henery model.
A glanced tibble::tibble()
with fields
The degrees of freedom of the model.
The log-likelihood of the model.
Akaike's Information Criterion for the model.
The number of observations, if this is available, otherwise ‘NA’.
In the future this may include information about the regularization, if any.
Steven E. Pav shabbychef@gmail.com
glance.maxLik
.
# softmax on the Best Picture data
data(best_picture)
df <- best_picture
df$place <- ifelse(df$winner,1,2)
df$weight <- ifelse(df$winner,1,0)
fmla <- place ~ nominated_for_BestDirector + nominated_for_BestActor + Drama
fit0 <- harsm(fmla,data=df,group=year,weights=weight)
print(glance(fit0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.