
Check instrument strength via first-stage partial F (internal)
Source:R/diagnose.R
dot-check_instrument_strength.RdComputes partial F-statistics for G (in X ~ G + W + covars) and Gm (in M ~ X_hat + Gm + W + covars), matching the first-stage regressions used by fit_iv2sls() and fit_iv2sls_mediation2().