Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://doi.org/10.5281/zenodo.20677995
13 June 2026, 10:13:27 UTC
  • Code
  • Branches (0)
  • Releases (1)
  • Visits
    • Branches
    • Releases
      • 1
      • 1
    • 6a6e0c7
    • /
    • migariane-Causal-Inference-Book-cad77df
    • /
    • _quarto.yml
    Raw File Download

    To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
    Select below a type of object currently browsed in order to display its associated SWHID and permalink.

    • content
    • directory
    • snapshot
    • release
    origin badgecontent badge
    swh:1:cnt:d375773feb379f57cdca9cde292d2ece15bce6bd
    origin badgedirectory badge
    swh:1:dir:86644197f8e2f6d1763f04022887210b4c9d9dc7
    origin badgesnapshot badge
    swh:1:snp:ac66531008970fb44a404b5c3090588f00f3f416
    origin badgerelease badge
    swh:1:rel:272e5a293892644f7125b0574e9627d724483c41

    This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
    Select below a type of object currently browsed in order to generate citations for them.

    • content
    • directory
    • snapshot
    • release
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    _quarto.yml
    project:
      type: book
      output-dir: docs
    
    book:
      title: "Computational Causal Inference for Applied Researchers"
      subtitle: "A Practical Guide for Epidemiologists and Biostatisticians"
      author:
        - name: "Miguel Angel Luque-Fernandez"
          affiliation: "Dpto. de Estadistica e Investigacion Operativa, Universidad de Granada"
          email: "mluquefe@ugr.es"
          url: "https://migariane.github.io"
        - name: "Matthew J. Smith"
          affiliation: "London School of Hygiene & Tropical Medicine"
      date: "2026"
      date-format: "YYYY"
      description: |
        This book introduces the concepts of causal inference from a beginner's perspective
        and leads the interested reader to numerous approaches to answer counterfactual questions
        using computational methods in R and Stata.
      cover-image: figures/logo.png
      favicon: figures/logo.png
      repo-url: https://github.com/migariane/Causal-Inference-Book
      repo-actions: [edit, issue, source]
      sharing: [twitter, linkedin]
      downloads: []
      search: true
      page-footer:
        left: |
          Computational Causal Inference for Applied Researchers, M.A. Luque-Fernandez & M.J. Smith
        right: |
          © 2026 Universidad de Granada
    
      chapters:
        - index.qmd
        - part: "Foundations"
          chapters:
            - chapters/chapter1/index.qmd
            - chapters/chapter2/index.qmd
        - part: "G-Methods"
          chapters:
            - chapters/chapter3/index.qmd
            - chapters/chapter4/index.qmd
        - part: "Advanced Methods"
          chapters:
            - chapters/chapter5/index.qmd
            - chapters/chapter6/index.qmd
            - chapters/chapter7/index.qmd
        - part: "Sensitivity Analysis & Discussion"
          chapters:
            - chapters/chapter8/index.qmd
            - chapters/chapter9/index.qmd
        - references.qmd
    
    bibliography: references.bib
    csl: apa.csl
    
    language:
      code-tools-menu-caption: "Code"
      code-tools-show-all-code: "Show all code"
      code-tools-hide-all-code: "Hide all code"
      code-summary: "Show the code"
    
    crossref:
      lst-title: "Listing"
      lst-prefix: "Listing"
      chapters: true
    
    format:
      html:
        lang: en
        theme: cosmo
        css: styles.css
        toc: true
        toc-depth: 3
        number-sections: true
        number-depth: 3
        html-math-method: mathjax
        code-fold: true
        code-summary: "Show the code"
        code-tools:
          source: false
          toggle: true
          caption: "Code"
        code-copy: true
        code-overflow: wrap
        smooth-scroll: true
        fig-align: center
        fig-width: 7
        fig-height: 5
        base-url: /Causal-Inference-Book/
        include-in-header:
          text: |
            <script>
            MathJax = {
              tex: {
                macros: {
                  btheta: "\\boldsymbol{\\theta}",
                  bbeta: "\\boldsymbol{\\beta}",
                  bmu: "\\boldsymbol{\\mu}",
                  bSigma: "\\boldsymbol{\\Sigma}",
                  bx: "\\mathbf{x}",
                  bX: "\\mathbf{X}",
                  by: "\\mathbf{y}",
                  bY: "\\mathbf{Y}",
                  bU: "\\mathbf{U}",
                  E: "\\mathbb{E}",
                  Var: ["\\operatorname{Var}"],
                  Cov: ["\\operatorname{Cov}"],
                  Corr: ["\\operatorname{Corr}"],
                  iid: "\\stackrel{\\text{i.i.d.}}{\\sim}",
                  tendD: "\\stackrel{\\mathcal{D}}{\\longrightarrow}",
                  reals: "\\mathbb{R}",
                  PP: "\\mathbb{P}",
                  P: "\\mathbb{P}",
                  I: "\\mathbb{I}",
                  A: "\\mathbb{A}",
                  SE: ["\\operatorname{SE}"],
                  SD: ["\\operatorname{SD}"],
                  MSE: ["\\operatorname{MSE}"],
                  argmax: ["\\operatorname{argmax}"],
                  argmin: ["\\operatorname{argmin}"],
                  logit: ["\\operatorname{logit}"],
                  expit: ["\\operatorname{expit}"],
                  odds: ["\\operatorname{odds}"],
                  Pr: ["\\operatorname{Pr}"],
                  indep: "\\perp\\!\\!\\!\\perp"
                }
              }
            };
            </script>
    
    execute:
      warning: false
      message: false
      echo: true
      cache: false
      eval: false
    

    back to top

    Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
    The source code of Software Heritage itself is available on our development forge.
    The source code files archived by Software Heritage are available under their own copyright and licenses.
    Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API