Computes AR confidence intervals using a 2D grid search over (b0, b1) with chi^2_2 critical value. For the slope (Egger) coefficient under weak instruments, use method = "slope_only" instead.
compute_AR_CI_optimized(
model,
adjust_fun,
bs,
sebs,
invNs,
g,
type_choice,
weights = NULL,
method = "joint"
)Fitted lm object from second-stage regression
PET_adjust or PEESE_adjust function
Effect estimates
Standard errors
Inverse sample sizes (instrument)
Cluster variable
CR variance type ("CR0", "CR1", "CR2")
Optional weights for weighted AR
"joint" for 2D grid, "slope_only" for subset AR (robust under weak IV)