Reproduce a published study: Bello-Chavolla 2020, COVID-19 mortality in Mexico
Tutorial · CohortDAG 0.2.9
Find the study and get its data
Find the study in Pipelines
Click Pipelines. Under Studies, find the 2020 study by Bello-Chavolla and colleagues. It models the risk of death from COVID-19 in Mexico, including the roles of diabetes and obesity.

Get the data
The study needs a snapshot of Mexico's national COVID-19 surveillance data. Click Get data. CohortDAG downloads it and checks it against its recorded checksum before marking the data ready.

Load the pipeline and arrange the graph
Load and arrange the pipeline
Click Load. The pipeline opens on the canvas, with the results of an earlier run already restored. Close the results panel to give the graph room, then click Arrange Graph.

Read the method in the node guide
The hazard ratios come from a Cox Regression node. Open the Nodes tab and click the info button next to Cox Regression. Its guide explains proportional hazards and how to read a hazard ratio.

Run it and read the result
Run the pipeline
Press Escape to close the guide, then click Run All Outputs. CohortDAG compiles the pipeline and runs it on Apache Spark. When the run finishes, the results panel opens; close the results panel to keep the whole graph in view.

Read the result
Select the lethality model and open the Workspace tab. For patients aged 65 or older, the hazard ratio of death is 2.02, with a 95% confidence interval from 1.89 to 2.16, as in the paper's Table 2.
