Combined standard errors for subsets of coefficients? #157
-
Hello @BertvanderVeen and @JenniNiku! Following the discussion for #113, it seems based on Gordana's overview that if
then the following should be true: So if coefficients are combined like this (with each coefficient having its own standard error) to estimate the total multiplicative effect on the mean, is there then a cumulative standard error for the coefficients involved in this combination? If so, how is this calculated? I've already combined the estimates of the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Thanks Kyle. Yes, you can determine standard errors for combinations of parameter estimates as described above, but it requires taking the covariance of those estimators into consideration. This will require two things: a matrix (let's call it) Then, it should be something similar as in the following example:
The above example is for categorical covariates only, but the principle for terms with a predictor variable is the same. For example, the SE for the intercept, and for the sum of an intercept and a term with covariate would require or just the last column, if you only want to sum over both. |
Beta Was this translation helpful? Give feedback.
Thanks Kyle.
Yes, you can determine standard errors for combinations of parameter estimates as described above, but it requires taking the covariance of those estimators into consideration. This will require two things: a matrix (let's call it)$\textbf{C}$ that forms the appropriate linear combinations, and the asymptotic covariance matrix of the model, retrieved via
vcov(model)
.Then, it should be something similar as in the following example: