OHDSI / OhdsiShinyModules

An R package containing Shiny modules used by various OHDSI Shiny apps
https://ohdsi.github.io/OhdsiShinyModules/
8 stars 11 forks source link

Incidence Proportion Bug? #268

Open ericaVoss opened 7 months ago

ericaVoss commented 7 months ago

The incidence proportion shown in the hover box just seems to be the year count over the total cohort count. We think it should be (COUNT = cohort count in year) / (total people in DB that year).

image

In this image, we don't agree with what is listed for Incidence Proportion the 22.1% because 377/1708 is not the Incidence Proportion.

Generated with OhdsiShinyModules v2.1.3 and ShinyAppBuilder v2.0.0.9000

@Conovermitch

jreps commented 1 month ago

Is total ppl in the database in the cohort diagnostics results? If not, this should be posted in the CohortDiagnostics github as that will need to be available in the results first.