Robust Variance Calculation
This function performs the calculation of robust standard errors based on variances estimated using sandwich::vcovCL
.
robust_calculation(model, data_id)
model
: The logistic regression model object.data_id
: Values of id column of the data (ie data[, id]
) to identify clusters.A list with elements summary
, a table with the model summary using the robust variance estimates, and matrix
, the sandwich
covariance matrix.
Useful links