6 · Report¶
Open results/report.html. Each section starts with a short explanation of how to read it.
Reading the results describes each part in more detail.
Methods paragraph¶
The report contains a draft methods paragraph based on the settings. It states the number of participants, the layers, the score and search algorithm, the bins, the number of resamples and the seed. Review and adapt the paragraph before you use it.
Reporting checklist¶
- The layers and their order, the reasons for the order, and the variables in each layer.
- Any forbidden or required arcs, and the reasons for them.
- The number of participants, and how missing values were handled.
- The bins, including any cut-off values. The exact edges are in
tables/bins.csv. - The score, search algorithm, maximum number of parents, number of resamples and seed.
- The stability of each arc that you discuss, as a number.
- The versions of layerbn and pyAgrum, listed at the end of the report.
- That the network describes associations in the assumed order, not causal effects.
Reproducibility¶
Apart from the data, the analysis is fully defined by two files. Copies of both are saved in
results/inputs/, with a checksum of the data file.
results/inputs/
├── settings.yml
├── variables.xlsx
└── run_info.json date and time of the run, the networks, and the name, size and
checksum of each input file, including the data
The software versions, the seed and all settings are listed in the Reproducibility section at the end of the report.
Publish these files with the manuscript, as a supplement or in a repository. Others can then repeat the analysis with the same data.
Software versions affect the bin edges
Quantile bin edges can differ slightly between versions of pyAgrum and scikit-learn, and all results depend on the bins. For this reason, the versions are reported and layerbn only accepts specific versions of these packages.