robust_calculation {TrialEmulation} | R Documentation |
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)
Arguments
model |
The logistic regression model object. |
data_id |
Values of id column of the data (ie |
Value
A list with elements summary
, a table with the model summary using the
robust variance estimates, and matrix
, the sandwich
covariance matrix.
[Package TrialEmulation version 0.0.4.0 Index]