OHDSI Home | Forums | Wiki | Github

Risk window definition in Cohort Method

Hi all,

I need to define a risk window, which starts 5 days after the index date and ends 10days after index date (index day is considered as day 0).

In Cohort Method we have function createStudyPopulation() with appropriate arguments riskWindowStart and riskWindowEnd.

If I want both 5 and 10 to be included in the risk window, should I specify

riskWindowStart = 5 and riskWindowEnd = 10

or

riskWindowStart = 6 and riskWindowEnd = 11.

As I understood from the documentation the first option would be the correct one. Can anybody clarify this topic, please?

BR,

Yuriy

Hi @YuriK. As a general convention, in the OHDSI Methods Library all periods are inclusive of their start and end date. So yes, you’re first option is correct!

t