fepoisson {capybara} | R Documentation |
Poisson model fitting high-dimensional with k-way fixed effects
Description
A wrapper for feglm
with
family = poisson()
.
Usage
fepoisson(
formula = NULL,
data = NULL,
weights = NULL,
beta_start = NULL,
eta_start = NULL,
control = NULL
)
Arguments
formula |
an object of class |
data |
an object of class |
weights |
an optional string with the name of the 'prior weights'
variable in |
beta_start |
an optional vector of starting values for the structural
parameters in the linear predictor. Default is
|
eta_start |
an optional vector of starting values for the linear predictor. |
control |
a named list of parameters for controlling the fitting
process. See |
Value
A named list of class "feglm"
.
Examples
# check the feglm examples for the details about clustered standard errors
mod <- fepoisson(mpg ~ wt | cyl, mtcars)
summary(mod)