Skip to content

Cumulative vaccinations appears incorrect #31

@bryce-carson

Description

@bryce-carson

@ashokkrish, in an email you stated that the observed trend in cumulative vaccination is odd.

The old code used the following,

    #--------------------------------------------------------------------#
    # Some susceptible people are going to be newly vaccinated           #
    #--------------------------------------------------------------------#
    newVaccinated <- alpha*valSusceptible
    newVaccinated[valSusceptible < 1] <- 0


    dailyVaccinated <- sum(newVaccinated)

The new code uses this,

newVaccinated <- alpha * reclassifyBelowUpperBound(layers$Susceptible, upper = 1)

These are the same, because reclassifyBelowUpperBound reclassifies all values below one to be zero.

How might things be incorrect when the algorithms are (effectively) the same?

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem rightquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions