Skip to content

Compute vaccine effectiveness by groups? #16

@Bisaloo

Description

@Bisaloo

Something that was discussed during the vacineff challenge is whether we want vaccineff functions to be able to deal with grouped data out of the box.
One example would be to compute vaccine effectiveness by country in a dataset including multiple countries.

Pros of computing by groups:

  • code could be slightly more efficient than requiring the user to create a loop since we can use vectorized operations
  • fewer lines of code for users

Cons of computing by groups:

  • necessity to add a new argument, which makes the package slightly more difficult to learn
  • slightly more lines of code in package

No matter what is chosen, there should be an example showing how effectiveness can be computed for multiple groups.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions