Helper: function to run a weighted binary analysis using svyglm unless there's a separation concern, then run weighted logsitf
weighted_analysis.RdHelper: function to run a weighted binary analysis using svyglm unless there's a separation concern, then run weighted logsitf
Usage
weighted_analysis(
  data,
  design,
  outcome,
  exposure,
  covariates,
  method = "svyglm",
  logistf_pl = FALSE,
  weight_var = NULL
)