Conversation
alter the master_index file to match with the most recent model. Feel free to reject this if it messes up with other aspects
stan model
code to modify inpt data for stan model
initil values for stan model
code to run model
code to assess parameters
src/analysis/multi-source_statistical/models/397_covs_model/1_mcmc_397.R
Outdated
Show resolved
Hide resolved
src/analysis/multi-source_statistical/models/397_covs_model/397_covs_model_config.R
Outdated
Show resolved
Hide resolved
src/analysis/multi-source_statistical/models/397_covs_model/397_covs_model_config.R
Outdated
Show resolved
Hide resolved
src/analysis/multi-source_statistical/models/397_covs_model/397_covs_model_config.R
Outdated
Show resolved
Hide resolved
src/analysis/multi-source_statistical/models/397_covs_model/397_covs_model_config.R
Outdated
Show resolved
Hide resolved
src/analysis/multi-source_statistical/models/397_covs_model/1_mcmc_397.R
Outdated
Show resolved
Hide resolved
src/analysis/multi-source_statistical/models/397_covs_model/1_mcmc_397.R
Outdated
Show resolved
Hide resolved
src/analysis/multi-source_statistical/models/397_covs_model/1_mcmc_397.R
Outdated
Show resolved
Hide resolved
src/analysis/multi-source_statistical/models/397_covs_model/1_mcmc_397.R
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Thanks @alaparicioc . I needed to make quite a few changes here to fix broken paths to get these scripts to work, but I think I've done all of that now. There are a few things that I need you to look at:
- See my comment on
397_covs_model_config.Rabout the many-to-many join and the error generated in that section of code (related to calculatingratio_children_female). I'm worried there is an error here that needs to be corrected. - I integrated your model into the pre-existing workflow, and I would appreciate if you can please try to stick with this going forward so that our various models can be run a bit more interchangeably. See the changes that I made to
.../multi-source_statistical/1_mcmc.Rand.../multi-source_statistical/models/5_agesex_model_config.R. - I made commits to resolve many of the issues that I found. I documented those with review comments and resolved the comments where I was able to make commits to fix things. Please check the remaining comments that are unresolved and resolve them once you are able to either confirm there is not a problem or make a commit to fix the problem.
- I haven't reviewed the eval script yet or worked to integrate it with the pre-existing modelling workflow. I will come back to that once you've fixed the first point.
|
Hi. Regarding your comments:
I went though the code and I did not get the same. I re-run this part of the code and realised the
Will do
Which aspects were unresolved exactly? The only unresolved problem was the many-to-many join, for which I have amended the code. The ones about the warnings are about the last age group. I replied to the comments respectively.
Totally fine Let me know if you find anything else that needs amending. Additonally, is it possible to keep the README.md in the place where the modified files are? I think that explaining the workflow is useful. |
removing indexes to join children and female population
Related to issue #136, the current best-performing model is
397_covs_modelwith sex and customised age groups (0-14, 15-19, 20-29, 30-39, 40-49, 50-59, 60+), with constraints and covariates implemented to integrate Facebook and Instagram daily active users into a single Bayesian framework.The code is in
https://github.com/OxfordDemSci/UkraineNowPop/tree/a303f345e2ab3622718f30da5972648acf1d47f4/src/analysis/multi-source_statistical.If you have any problems running this model, e.g., coming from the new structure of the repository, let me know and I will modifythe required scripts.
All results are saved in the DemSci shared folder:
K:\DemSci\projects\2023_WHO_Ukraine_Population\wd\wd_andrea\out\modelling\397_covs_model