get_true_first_stage

rdd.simulate.get_true_first_stage(
    alpha: float = 2.5,
    sigma_1: float = 1.0,
    sigma_d: float = 1.0,
)

Return the population share of local compliers.

With the normal disturbances of simulate_rdd_data, the selection index is normal with variance sigma_1**2 + sigma_d**2, so the complier share is Phi(alpha / sd) - Phi(0).

Parameters

Name Type Description Default
alpha float Treatment-cost reduction at the cutoff. 2.5
sigma_1 float Standard deviation of the treatment-effect disturbance. 1.0
sigma_d float Standard deviation of the treatment-selection disturbance. 1.0

Returns

Name Type Description
float Probability of being a local complier.