-
Figure 1 can be recreated by running
phmrc_eda/error-matrix-all-observations.R
-
All simulation results can be obtained by first running
fakeCOD.R
inSimulationStudy
. Note that this file was run as an SGE array job using thefakeCOD.sh
script, and thus would have to be modified accordingly (i.e. using a for loop) if you do not have access to a HPC environment. Simulation results are collected usingcollectResults.R
and then plotted withplotResults.R
-
All files for recreating figures and results for the PHMRC data analysis is in the
CSMFPredictionsWeightedResampling
directory. First, runtrainModelsChild.R
. Then rungenerateCalibrationIndicesChild.R
via the shell scriptgenerateCalibrationIndicesChild.sh
. The main simulations are done inrunSimulationChild.R
(again run using the associated shell script). Simulations for Section S7 are inSimulationChildExpandedCauses.R
. All simulation results are then collected usingcollectResults.R
and plotted inplotResults.R
. The fileplotSympDifferences.R
is used for creating Figure S8.
jfiksel / bayestlscripts Goto Github PK
View Code? Open in Web Editor NEWContains all scripts for reproducing the results in Regularized Bayesian transfer learning for population-level etiological distributions