Skip to content

Commit

Permalink
Run model + order folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ottiP committed Nov 10, 2021
1 parent cb559ce commit 4867415
Show file tree
Hide file tree
Showing 19 changed files with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions HH_transmission_model_project.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ library(ggplot2)
library(msm)
library(doParallel)
library(reshape2)
source('./compute_CI.R')
source('./sim_functions/generate_delay_dist.R')
source('./sim_functions/simulation_analysis_gamma.R')
source("./chain_bin_lik.R")
source("./sim_functions/parRead.R")
source('./R/compute_CI.R')
source('./R/generate_delay_dist.R')
source('./R/simulation_analysis_gamma.R')
source("./R/chain_bin_lik.R")
source("./R/parRead.R")
N.delay.draw <- 10
```
Expand All @@ -36,13 +36,13 @@ cl1 <-makeCluster(nCores)
clusterExport(cl1, c('sim.hh.func.fixed'), environment())
sim.ds.ls3 <- parLapply(cl=cl1, 1:100000,sim.hh.func.fixed, hh.size=3) #650K HH=~2m ppl
sim.ds.ls3 <- parLapply(cl=cl1, 1:100000,sim.hh.func.fixed, hh.size=3) #100K HH=~300K ppl
sim.ds3 <- bind_rows(sim.ds.ls3)
sim.ds.ls2 <- parLapply(cl=cl1, 1:100000,sim.hh.func.fixed, hh.size=2) #650K HH=~2m ppl
sim.ds.ls2 <- parLapply(cl=cl1, 1:100000,sim.hh.func.fixed, hh.size=2) #100K HH=~200K ppl
sim.ds2 <- bind_rows(sim.ds.ls2)
sim.ds.ls1 <- parLapply(cl=cl1, 1:100000,sim.hh.func.fixed, hh.size=1) #650K HH=~2m ppl
sim.ds.ls1 <- parLapply(cl=cl1, 1:100000,sim.hh.func.fixed, hh.size=1) #100K HH=~100K ppl
sim.ds1 <- bind_rows(sim.ds.ls1)
stopCluster(cl1)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file modified intermediate_data/sim_ds_fix_gamma.rds
Binary file not shown.
Binary file modified intermediate_data/summary_table_ 1 iter_SIM.rds
Binary file not shown.
Binary file modified intermediate_data/summary_table_ 10 iter_SIM.rds
Binary file not shown.
Binary file modified intermediate_data/summary_table_ 2 iter_SIM.rds
Binary file not shown.
Binary file modified intermediate_data/summary_table_ 3 iter_SIM.rds
Binary file not shown.
Binary file modified intermediate_data/summary_table_ 4 iter_SIM.rds
Binary file not shown.
Binary file modified intermediate_data/summary_table_ 5 iter_SIM.rds
Binary file not shown.
Binary file modified intermediate_data/summary_table_ 6 iter_SIM.rds
Binary file not shown.
Binary file modified intermediate_data/summary_table_ 7 iter_SIM.rds
Binary file not shown.
Binary file modified intermediate_data/summary_table_ 8 iter_SIM.rds
Binary file not shown.
Binary file modified intermediate_data/summary_table_ 9 iter_SIM.rds
Binary file not shown.
Binary file added results/mod_result.rds
Binary file not shown.

0 comments on commit 4867415

Please sign in to comment.