Skip to content

model_info(model)$is_linear should be FALSE with mblogit() #628

@vincentarelbundock

Description

@vincentarelbundock

I don't really understand the family code in model_info, but here's a test:

test_that("mblogit is not linear", {
  requiet("mclogit")
  mod <- mblogit(factor(gear) ~ mpg + hp, data = mtcars, trace = FALSE)
  expect_false(model_info(mod)$is_linear)
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    Question ⁉️Further information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions