Coder Social home page Coder Social logo

nhs_covid_app_evaluation's Introduction

Analysis code for Wymant & Ferretti et al. 2021 (under review; correspondence to Christophe Fraser).

  • regress_uptake_vs_cases_generate_data_V1paper_cleaned.R is how we collated, wrangled and transformed data at the level of lower-tier local authorities (LTLAs), in preparation for the regressions reported in our statistical analysis. The input data for this is in the data_for_paper_public subdirectory. THE APP UPTAKE DATA IN HERE IS SIMULATED, NOT REAL! It is provided to give data in the format we used, so that the code can be run for illustration. It is also somewhat unrealistic in that it is constant over time for each local authority, and wholly uncorrelated with COVID-19 case numbers, unlike our findings with real data.
  • regress_uptake_vs_cases_regressions_V1paper_cleaned.R contains the regressions reported for our main-text statistical analysis, and the variant analyses of the Supplementary Information. Code here should be executed after running the regression preparation code (i.e. keeping the objects in memory). Remember - the simulated app uptake data provided is fake and uncorrelated with cases, so these illustratory regressions will not show the real effect of the app.
  • ConvolutionsSAR.R is how we calculated the secondary attack rate (SAR). Input data, not provided, consisted of the number of notifications received each day and the number of positive test results reported among those recently notified.
  • code_effect_app_impact_notifications_V1paper_cleaned.R is how we estimated the number of cases averted with our modelling analysis. Input data not provided.

nhs_covid_app_evaluation's People

Contributors

chrishiv avatar

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.