Giter VIP home page Giter VIP logo

africau5mr's Introduction

AfricaU5MR

This is the repository for Child Mortality project.

Structure of the repository

The folders are set up in a slightly weird way due to the long edit history of the original repository

CountryMain folder

CountryInfo folder contains some of the country specific information:

  • Filenames of the input .dta files from stata pre-process (this step can now be done in R too, with the SUMMER package)
  • Survey names: names of the survey to be used in final output
  • Region names: Region names needs to match exactly (1) the names in the .dta files, and (2) the order of the regions in the map file (See map section below.)

Data

  • CountryDTARaw: files are too large and require registration with DHS, not uploaded.
  • comparison: UN (B3) and IHME estimates
  • 5q0_estimates_new: country specific direct estimates for each survey
  • map: map files, notice the regions should correspond to regions used in the analysis. The names need not match exactly (as they are usually not), but the order need to be exactly the same as that in the files of the CountryMain/ folder. To check the orders match, I used the code at Main/check_region_names.R, which prints different names so that I can check they are referring to the same region.

Main

This is the main working folder containing all the codes, results, tables, and figures of the analysis.

  • Figures/Tables/Fitted: as names suggested
  • HIV_Adjustments: factors for HIV adjustments for some countries
  • runscript: scripts I used to run all countries in parallel on a cluster. The run.R script also demonstrates the order of the several key scripts used.
  • Codes (main ones)
    • CombinedSvyGLM.R: run surveyGLM to get direct estimates, save to ../Data/5q0_estimates_new/ folder
    • Run.R: fit all models to one country
    • Diag.R: put together a large panel plots of diagnostics of the random effects.
    • Plot.R: generate all the country plots
    • CrossValidation.R: perform cross validation analysis for one country.
    • Plot_all.R: generate all country plots
  • Codes (other)
    • check_region_names.R: check region names are the same in map and data, see map section above.
    • addsurveytable.R: save a table of all the surveys listed.
    • add_country_script.R: to be removed?
    • CombinedRegionChange.R: to combine some regions in several countries (used when calling CombinedSvyGLM.R)

HelperFunctions

This folder contains the codes to fit INLA models. They are now incorporated into the SUMMER package already.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.