| corrupt_graph | Corrupt a graph by random edge swaps |
| eval_support | Compute performance metrics for support recovery |
| generate_beta | Generate a sparse true coefficient vector on a graph |
| generate_data | Simulate data for graph-IV regression |
| get_laplacian | Compute the unnormalised graph Laplacian |
| get_mcc | Matthews Correlation Coefficient for support recovery |
| ivgl | IVGL: IV regression with graph-fused Lasso |
| ivgl_s | IVGL-S: IV regression with graph Lasso and invalid-IV correction |
| iv_lasso | IV-LASSO: Two-stage LASSO without graph structure |
| make_graph | Construct a graph adjacency matrix |
| run_one_replicate | Run a single simulation replicate |
| run_simulation | Run a simulation study with multiple replicates |