-remember_robustness_misspec.RDS: robustness_1.feather robustness_1_dv.feather
- rm -f remember_robustness_misspec.RDS
- sbatch --wait --verbose run_job.sbatch Rscript plot_example.R --infile robustness_1.feather --name "plot.df.robustness.1" --remember-file "remember_robustness_misspec.RDS"
- sbatch --wait --verbose run_job.sbatch Rscript plot_dv_example.R --infile robustness_1_dv.feather --name "plot.df.robustness.1.dv" --remember-file "remember_robustness_mispec.RDS"
+robustness_1_dv.RDS: robustness_1_dv.feather
+ rm -f $@
+ ${srun} Rscript plot_dv_example.R --infile $< --name "robustness_1_dv" --outfile $@
+
+
+robustness_2_jobs: grid_sweep.py 01_two_covariates.R simulation_base.R grid_sweep.py
+ rm -f $@
+ ${srun} $< --command 'Rscript 01_two_covariates.R' --arg_dict '{"N":${Ns},"m":${ms}, "seed":${seeds}, "outfile":["robustness_2.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~z"], "prediction_accuracy":[0.6,0.73,0.8,0.85,0.9,0.95]}' --outfile $@
+
+
+
+START=1
+END=$(shell cat robustness_2_jobs | wc -l)
+STEP=1000
+ITEMS=$(shell seq $(START) $(STEP) $(END))