dr_score_logit_cpp: Logit-scale DR score computation

View source: R/RcppExports.R

dr_score_logit_cppR Documentation

Logit-scale DR score computation

Description

Computes the doubly-robust score function for the logit-scale DiD estimator. Used internally for fast SE computation.

Usage

dr_score_logit_cpp(delta_logit, D, pscore, mu_hat)

Arguments

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.

Value

Numeric vector of DR scores (influence functions).


NonlinearDiD documentation built on May 6, 2026, 1:06 a.m.