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