- object
An object of class "ggeffects"
, as returned by predict_response()
.
- vcov_fun
Variance-covariance matrix used to compute uncertainty
estimates (e.g., for confidence intervals based on robust standard errors).
This argument accepts a covariance matrix, a function which returns a
covariance matrix, or a string which identifies the function to be used to
compute the covariance matrix.
A (variance-covariance) matrix
A function which returns a covariance matrix (e.g., stats::vcov()
)
A string which indicates the estimation type for the heteroscedasticity-consistent
variance-covariance matrix, e.g. vcov_fun = "HC0"
. Possible values are
"HC0"
, "HC1"
, "HC2"
, "HC3"
, "HC4"
, "HC4m"
, and "HC5"
, which
will then call the vcovHC()
-function from the sandwich package, using
the specified type. Further possible values are "CR0"
, "CR1"
, "CR1p"
,
"CR1S"
, "CR2"
, and "CR3"
, which will call the vcovCR()
-function from
the clubSandwich package.
A string which indicates the name of the vcov*()
-function from the
sandwich or clubSandwich packages, e.g. vcov_fun = "vcovCL"
,
which is used to compute (cluster) robust standard errors for predictions.
If NULL
, standard errors (and confidence intervals) for predictions are
based on the standard errors as returned by the predict()
-function.
Note that probably not all model objects that work with predict_response()
are also supported by the sandwich or clubSandwich packages.
See details in this vignette.
- vcov_type
Character vector, specifying the estimation type for the
robust covariance matrix estimation (see ?sandwich::vcovHC
or ?clubSandwich::vcovCR
for details). Only used when vcov_fun
is a
character string indicating one of the functions from those packages.
When vcov_fun
is a function, a possible type
argument must be provided
via the vcov_args
argument.
- vcov_args
List of named vectors, used as additional arguments that
are passed down to vcov_fun
.
- vcov.fun, vcov.type, vcov.args
Deprecated. Use vcov_fun
, vcov_type
and vcov_args
instead.
- verbose
Toggle messages or warnings.
- ...
Currently not used.