glance: Glance

glance.harsmR Documentation

Glance

Description

Glance at a harsm, hensm or linodds model.

Usage

## S3 method for class 'harsm'
glance(x, ...)

## S3 method for class 'hensm'
glance(x, ...)

Arguments

x

an object of type harsm or hensm

...

arguments for generic consistency.

Details

Returns a table with information on the overall fit an estimated Harville or Henery model.

Value

A glanced tibble::tibble() with fields

df

The degrees of freedom of the model.

logLik

The log-likelihood of the model.

AIC

Akaike's Information Criterion for the model.

nobs

The number of observations, if this is available, otherwise ‘NA’.

Note

In the future this may include information about the regularization, if any.

Author(s)

Steven E. Pav shabbychef@gmail.com

See Also

glance.maxLik.

Examples


# 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))


ohenery documentation built on Sept. 9, 2025, 5:56 p.m.