1
0

cleaning up + implementing robustness checks

+ add pl_methods.R
+ update makefile
+ fix bug in 02_indep_differential.R
+ start documenting robustness checks in robustness_check_notes.md
This commit is contained in:
2022-12-11 12:54:34 -08:00
parent 3d1964b806
commit 82fe7b0f48
4 changed files with 92 additions and 4 deletions

View File

@@ -120,12 +120,10 @@ remember_irr.RDS: example_5.feather plot_irr_example.R plot_irr_dv_example.R sum
# sbatch --wait --verbose run_job.sbatch Rscript plot_irr_dv_example.R --infile example_6.feather --name "plot.df.example.6"
robustness_1_jobs: 02_indep_differential.R simulation_base.R grid_sweep.py
sbatch --wait --verbose run_job.sbatch grid_sweep.py --command "Rscript 02_indep_differential.R" --arg_dict '{"N":${Ns},"m":${ms}, "seed":${seeds}, "outfile":["robustness_1.feather"],"y_explained_variance":${explained_variances}, "Bzy":[-0.3],"Bxy":[0.3],"Bzx":[0.3], "outcome_formula":["y~x+z"], "proxy_formula":["w_pred~y+x"], "truth_formula":["x~1"]}' --outfile robustness_1_jobs
robustness_1.feather: robustness_1_jobs
rm -f robustness_1.feather
sbatch --wait --verbose --array=1-$(shell cat robustness_1_jobs | wc -l) run_simulation.sbatch 0 robustness_1_jobs