| dr_score_logit_cpp | R Documentation |
Computes the doubly-robust score function for the logit-scale DiD estimator. Used internally for fast SE computation.
dr_score_logit_cpp(delta_logit, D, pscore, mu_hat)
delta_logit |
Numeric vector of logit(Y1) - logit(Y0). |
D |
Integer vector of treatment indicators. |
pscore |
Numeric vector of propensity scores. |
mu_hat |
Numeric vector of outcome model predictions. |
Numeric vector of DR scores (influence functions).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.