Git Product home page Git Product logo

adultcoverage's People

Contributors

converge-unfpa avatar timriffe avatar

Watchers

 avatar  avatar  avatar  avatar

adultcoverage's Issues

Error in slopeint function: intercept is wrong

When I looked at the slopeint function the formula for the intercept is wrong:

(1) intercept <- with(codi,mean(leftterm[age %in% agesfit]) * (1/slope) - mean(rightterm[age %in% agesfit]))

I think it should be:

(2) intercept <- with(codi,mean(leftterm[age %in% agesfit]) - mean(rightterm[age %in% agesfit])) * slope

checklist

  • add RMSE of age selection to output (mig branch)
  • add r2 of line fit to ggb() output (mig branch)
  • implement migration in ggb() (mig branch)
  • implement migration in seg() (mig branch)
  • ensure valid use of mig in ggbseg() (both stages should use mig and in the same way) (mig branch)
  • use mig.summed flag (mig branch)
  • warn, if total deaths < 25% of population change then either the deaths.summed flag is being used wrong or the user should consider not using the method. Use either message() or warning() (mig branch)
  • add more example data (PJ will send spreadsheets)
  • implement seg delta method, but think of a better name for it see RD spreadsheet AM_SEG_South Africa_males_3_1.xlsx, calibrate to spirit not values. To iterate or not to iterate?

Confusion about coverage returned by ggb

The item called "coverage" returned by ggb is the coverage relative to census 2 or 1/b. The TDE workbook (http://demographicestimation.iussp.org/content/generalized-growth-balance-method) gives the completeness relative to the average (geometric) coverage of the two censuses. This is the completeness of the intercensal death rates.

The completeness listed in the graph title of ggbChooseAge does not match either of these values. I haven't looked at the code for that.

Adjustment for net migration

Hi Tim,

Thank you so much for developing this tool.

I was wondering if it were possible to make an adjustment for net migration before estimating completeness?

Thanks,
Nick

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.