Arguments
- object
A
fixest
object. Obtained using the functionsfemlm
,feols
orfeglm
.- type
A character scalar, either
"response"
(default),"deviance"
,"pearson"
, or"working"
. Note that the"working"
corresponds to the residuals from the weighted least square and only applies tofeglm
models.- na.rm
Logical, default is
TRUE
. Whether to remove the observations with NAs from the original data set. IfFALSE
, then the vector returned is always of the same length as the original data set.- ...
Not currently used.
Value
It returns a numeric vector of the length the number of observations used for the estimation
(if na.rm = TRUE
) or of the length of the original data set (if na.rm = FALSE
).
See also
See also the main estimation functions femlm
, feols
or feglm
. fitted.fixest
, predict.fixest
, summary.fixest
, vcov.fixest
, fixef.fixest
.