| sd_w | R Documentation |
Calculate a standard deviation of a linear estimator given weights and conditional standard deviations.
sd_w(w_t, w_c, sigma_t, sigma_c)
w_t |
weights for treated observations. |
w_c |
weights for control observations. |
sigma_t |
conditional standard deviations for the treated. |
sigma_c |
conditional standard deviations for the control. |
a scalar value.
w_t <- rep(1/10, 10) w_c <- rep(1/5, 5) sigma_t <- rep(1/2, 10) sigma_c <- rep(1/3, 5) sd_w(w_t, w_c, sigma_t, sigma_c)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.