Giter VIP home page Giter VIP logo

covid-19-transmission's People

Contributors

junyi-que avatar karimn avatar wwiecek avatar

Watchers

 avatar  avatar

covid-19-transmission's Issues

Some non-English language characters cause warnings in report rendering (pdf)

For example, the Poland report produces:

## Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :+1: 
## conversion failure on 'Łódź' in 'mbcsToSbcs': dot substituted for <c5>

Labels in plots end up with missing characters.

Some solution I found Googling:

  • used cairo_pdf
  • pdf.options(encoding='ISOLatin2')

Need to make sure this works for all languages.

Informative prior for imputed cases

@wwiecek found that we are hitting convergence problems because of non-identifiability of R0 and imputed cases, so setting a more informative (restrictive) prior on imputed cases eliminates some of these issues.

We also discussed using a prior for imputed cases that is conditional of the population size of sub-regions.

@wwiecek I'm opening this issue so we can keep track what we discussed as a solution. Please add anything you think is relevant here. I'm assigning to you, but feel free to re-assign back to me if you have a clear implementation of these priors you want me to do. I'm going to go ahead and do a cluster run with the new restricted priors you checked in.

mobility_report.Rmd error

if (!is_null(params$country_code)) {
results %<>%
mutate(run_data = map(run_data, filter, fct_match(country_code, params$country_code)))
}

Error in map(run_data, filter, fct_match(country_code, params$country_code)) :
object 'run_data' not found

Generating a report from mob_fit alone

Hey, so you pushed PR and PL runs (Pushed pl.RData and pe_.RData to data/mobility/results on main-karimn_) and I wanted to review them this morning, but am not sure what is the fastest way to get a national report because I'd need results object (use_subnat_data)

I can run the chunks of run_mob.R that go before & after the model, but maybe there a quicker/cleaner way to get this?

Investigating France divergences

Run high adapt delta to see if we can eliminate all divergent transitions.

Job 64395309 problem countries: DO (singleton), SE, ES, MY, NL, FR (high divergence but Rhat < 1.01)

Is it possible to put likelihood or prior on S(t) for particular?

Sorry, we discussed this before but I forgot. S(t) (1-cumulative_cases) is a transformed parameter, so we can't directly put a probabilistic statement on it. But do you know of any other simple method to do it, @karimn? Looking at another country where S(t) tends to 0 made me think of how nice it would be to have a control over S(t) at particular t's. And we even have data for this!

Error when adding stringency_index to the model

When I add the stringency_index to the model using the new dataset (which can be found in the Dropbox), it reports the following:

Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) :
Exception: mismatch in dimension declared and found in context; processing stage=data initialization; variable name=design_matrix; position=0; dims declared=(2361,4); dims found=(2250,4) (in 'model359444027750_mobility' at line 50)

Batched singletons have a few problems.

On the side, I ran with only two countries (with "--no-pooling"), PY and PT, and the model has some problems. Same run without "--no-pooling" -- so it's hierarchical over countries ---- worked well. I wonder if with no pooling we end up with the same problem we see when we have a completely uninformative prior on the SD param that was causing divergences before.

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.