View source: R/FromAlphaToRE_function.R
FromAlphaToRE | R Documentation |
Function that calculates the random effect that corresponds to a specific average probability of treatment.
FromAlphaToRE(alpha, lin_pred, alpha_re_bound = 10)
alpha |
Target average probability of treatment. Numberic in 0 - 1. |
lin_pred |
Linear predictor for the probability of treatment among the remaining units. Includes intercept and fixed effects. |
alpha_re_bound |
The lower and upper end of the values for bi we will look at. Defaults to 10, meaning we will look between - 10 and 10. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.