Skip to contents

These functions still work but will be removed in a future release. Each one emits a deprecation warning once per session and calls its replacement, so it returns exactly the same result.

Usage

gaussian_family(link = "identity")

binomial_family(link = c("logit", "probit"))

poisson_family(link = "log")

negbin_family(link = "log")

gamma_family(link = "log")

beta_family(link = c("logit", "probit"))

ordered_family(link = c("logit", "probit"))

tobit_family(left = 0, right = Inf)

panglm_dispersiontest(object)

panglm_hausman(
  fe,
  re = NULL,
  method = c("classical", "mundlak"),
  data = NULL,
  vcov = c("cluster", "HC1", "classical")
)

panglm_hurdle(
  formula,
  data,
  index,
  count_family = c("poisson", "negbin"),
  maxit = 100,
  tol = 1e-10
)

Arguments

passed to the replacement

object, fe, re, method, data, vcov, formula, index, maxit, tol

passed to the replacement

count_family

passed as family to panhurdle()

Value

the value of the replacement function

Details

Exported function names in panglm are glued lowercase, without underscores:

DeprecatedReplacement
gaussian_family()gaussianfamily()
binomial_family()binomialfamily()
poisson_family()poissonfamily()
negbin_family()negbinfamily()
gamma_family()gammafamily()
beta_family()betafamily()
ordered_family()orderedfamily()
tobit_family()tobitfamily()
panglm_dispersiontest()pandispersiontest()
panglm_hausman()panhausman()
panglm_hurdle()panhurdle()

panglm_hurdle(count_family = ) is panhurdle(family = ). The objects returned keep their classes ("panglm_dispersiontest", "panglm_hausman", "panglm_hurdle"), so code that tests or dispatches on them is unaffected.