Git Product home page Git Product logo

uc-did-analysis's Introduction

UC-DiD-analysis

Code for setting up DiD analysis for wider project

uc-did-analysis's People

Contributors

andrewbaxter439 avatar vkhodygo avatar

Watchers

 avatar

uc-did-analysis's Issues

TODO: minor improvements

There should be documentation discussing naming conventions and the package structure itself, some common features are listed right below:

  • rename files to remove whitespaces, see #4
  • rename files to make names short and concise
  • move tests to a separate folder for clear distinction
  • drop Stata files: see 4ed759b
  • expand Readme
  • check the license
  • build a package, add fixed versions of dependencies

BUG: b3d5e58 fails to run using provided data files

I tried to run the project on the workstation using the data you sent me. It fails with this message:

Error in `group_by()`:
! Must group by variables found in `.data`.Column `benefit` is not found.
Backtrace:1. ├─ggplot2::ggplot(...)
 2. ├─dplyr::arrange(...)
 3. ├─dplyr::filter(...)
 4. ├─dplyr::mutate(...)
 5. ├─dplyr::summarise(...)
 6. ├─dplyr::group_by(...)
 7. └─dplyr:::group_by.data.frame(...)
 8.   └─dplyr::group_by_prepare(.data, ..., .add = .add, caller_env = caller_env())
 9.     └─rlang::abort(bullets, call = error_call)
Execution halted

What do you think went wrong?

TODO: migrate to GPU

Since we run everything in parallel im might be a good idea to employ installed GPUs.
R provides some opportunities for that, however, I'm not sure your current code is 100% compatible with that.
That should theoretically make your calculations blazingly fast. Not sure about the accuracy though, single precision floating-point numbers can be pretty nasty.

TODO: run optimise_predictions.R with new code in main

Hi @vkhodygo - have updated the code in the optimise_predictions.R file to run a full set of optimising predictions. Will be a little longer than trial versions. Could you run then send the .rds files from the output folder (via email or onedrive)?

Most things fixed and should run smoothly, but let me know if not.

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.