Giter Site home page Giter Site logo

dsr's Introduction

dsr

Directly Standardized Rates and Rate Ratios

dsr's People

Contributors

mattkumar avatar

Stargazers

 avatar Gustavo Velásquez avatar Clément Turbelin avatar Doug Manuel avatar

Watchers

James Cloos avatar  avatar

Forkers

rosamgini

dsr's Issues

Fail to install the package by install_github

I tried to install the package by install_github but got the following error message:

Error: Failed to install 'dsr' from GitHub:
  ! System command 'Rcmd.exe' failed

Is there any way to install the package?

Rescaling weights with absent levels

Currently, if there are missing combinations of standardization variable levels in the sample data relative to the reference/population data, the weights are not scaled correctly. This is due to the left_join function in the various functions in the package.

E.g. age standardized rates
Ref Data: 5 distinct age bands with population sizes
Sample Data: 4 of the 5 age bands are present, 1 age band wasn't observed.

Rates are being calculated by rescaling the ref data to just the 4 levels that are present in the sample data which is incorrect.

To be safe, check that your sample data has all the levels of the standardization variables present in the ref data. Fix is being worked on.

by more than one subgroups

Hi,

I'm wondering whether the package can handle more than one subgroups? Say, age-standardized rate by year, sex, and geography?

Currently it seems that it can only handle one subgroup.

Thanks!

Yao

dsr removed from CRAN

The package has been removed from CRAN due to "Archived on 2020-08-26 as requires archived package 'frailtypack'.. ". Is it coming back?

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.