The coefficients of the secondary outcome are estimated on the
experimental sample, where treatment is randomised, and the residual
alpha = Y^S - W tau^S - X gamma^S is then formed for the
observational units; the primary outcome is regressed there on
treatment, covariates and that residual, and the coefficient on
treatment is the selection-corrected effect. Fitting both stages on
one sample makes alpha orthogonal to the design by
construction, so the correction is then identically zero.
Value
List with estimate, tau_esc, tau_naive,
correction, delta, tau_secondary,
alpha_sd, n_exp, n_obs, n.
