Follow ______ on twitter.

9.1.1 Identifying risk factors

Code

Vega-Lite Chart

{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.17.0.json",
  "config": {
    "view": {
      "continuousWidth": 300,
      "continuousHeight": 300
    },
    "axis": {
      "labelFontSize": 12,
      "titleFontSize": 14
    },
    "title": {
      "fontSize": 16,
      "fontWeight": "bold"
    }
  },
  "hconcat": [
    {
      "data": {
        "name": "data-84d8c14799a65289e3b26975e353fed5"
      },
      "mark": {
        "type": "line"
      },
      "encoding": {
        "x": {
          "field": "x",
          "title": "x",
          "type": "quantitative"
        },
        "y": {
          "field": "PDF",
          "title": "Density",
          "type": "quantitative"
        }
      },
      "height": 400,
      "title": "Normal Distribution",
      "width": 300
    },
    {
      "data": {
        "name": "data-7190e8daeb86f908d177ec66ce27ae82"
      },
      "mark": {
        "type": "line"
      },
      "encoding": {
        "x": {
          "field": "x",
          "title": "x",
          "type": "quantitative"
        },
        "y": {
          "field": "PDF",
          "title": "Density",
          "type": "quantitative"
        }
      },
      "height": 400,
      "title": "Student's t-Distribution (df=3)",
      "width": 300
    },
    {
      "data": {
        "name": "data-a0556d6caa878f014897cffca19931c4"
      },
      "mark": {
        "type": "line"
      },
      "encoding": {
        "x": {
          "field": "x",
          "title": "x",
          "type": "quantitative"
        },
        "y": {
          "field": "PDF",
          "title": "Density",
          "type": "quantitative"
        }
      },
      "height": 400,
      "title": "Lognormal Distribution (σ=0.5)",
      "width": 300
    }
  ],
  "resolve": {
    "scale": {
      "y": "shared"
    }
  },
  "datasets": {
    "data-84d8c14799a65289e3b26975e353fed5": [
      {
        "x": -4,
        "PDF": 0.00013
      },
      {
        "x": -3.83673,
        "PDF": 0.00025
      },
      {
        "x": -3.67347,
        "PDF": 0.00047
      },
      {
        "x": -3.5102,
        "PDF": 0.00084
      },
      {
        "x": -3.34694,
        "PDF": 0.00147
      },
      {
        "x": -3.18367,
        "PDF": 0.00251
      },
      {
        "x": -3.02041,
        "PDF": 0.00417
      },
      {
        "x": -2.85714,
        "PDF": 0.00673
      },
      {
        "x": -2.69388,
        "PDF": 0.01059
      },
      {
        "x": -2.53061,
        "PDF": 0.01623
      },
      {
        "x": -2.36735,
        "PDF": 0.02421
      },
      {
        "x": -2.20408,
        "PDF": 0.03516
      },
      {
        "x": -2.04082,
        "PDF": 0.04972
      },
      {
        "x": -1.87755,
        "PDF": 0.06846
      },
      {
        "x": -1.71429,
        "PDF": 0.09178
      },
      {
        "x": -1.55102,
        "PDF": 0.11982
      },
      {
        "x": -1.38776,
        "PDF": 0.1523
      },
      {
        "x": -1.22449,
        "PDF": 0.18851
      },
      {
        "x": -1.06122,
        "PDF": 0.22717
      },
      {
        "x": -0.89796,
        "PDF": 0.26657
      },
      {
        "x": -0.73469,
        "PDF": 0.30458
      },
      {
        "x": -0.57143,
        "PDF": 0.33885
      },
      {
        "x": -0.40816,
        "PDF": 0.36706
      },
      {
        "x": -0.2449,
        "PDF": 0.38716
      },
      {
        "x": -0.08163,
        "PDF": 0.39762
      },
      {
        "x": 0.08163,
        "PDF": 0.39762
      },
      {
        "x": 0.2449,
        "PDF": 0.38716
      },
      {
        "x": 0.40816,
        "PDF": 0.36706
      },
      {
        "x": 0.57143,
        "PDF": 0.33885
      },
      {
        "x": 0.73469,
        "PDF": 0.30458
      },
      {
        "x": 0.89796,
        "PDF": 0.26657
      },
      {
        "x": 1.06122,
        "PDF": 0.22717
      },
      {
        "x": 1.22449,
        "PDF": 0.18851
      },
      {
        "x": 1.38776,
        "PDF": 0.1523
      },
      {
        "x": 1.55102,
        "PDF": 0.11982
      },
      {
        "x": 1.71429,
        "PDF": 0.09178
      },
      {
        "x": 1.87755,
        "PDF": 0.06846
      },
      {
        "x": 2.04082,
        "PDF": 0.04972
      },
      {
        "x": 2.20408,
        "PDF": 0.03516
      },
      {
        "x": 2.36735,
        "PDF": 0.02421
      },
      {
        "x": 2.53061,
        "PDF": 0.01623
      },
      {
        "x": 2.69388,
        "PDF": 0.01059
      },
      {
        "x": 2.85714,
        "PDF": 0.00673
      },
      {
        "x": 3.02041,
        "PDF": 0.00417
      },
      {
        "x": 3.18367,
        "PDF": 0.00251
      },
      {
        "x": 3.34694,
        "PDF": 0.00147
      },
      {
        "x": 3.5102,
        "PDF": 0.00084
      },
      {
        "x": 3.67347,
        "PDF": 0.00047
      },
      {
        "x": 3.83673,
        "PDF": 0.00025
      },
      {
        "x": 4,
        "PDF": 0.00013
      }
    ],
    "data-7190e8daeb86f908d177ec66ce27ae82": [
      {
        "x": -4,
        "PDF": 0.00916
      },
      {
        "x": -3.83673,
        "PDF": 0.01053
      },
      {
        "x": -3.67347,
        "PDF": 0.01216
      },
      {
        "x": -3.5102,
        "PDF": 0.01409
      },
      {
        "x": -3.34694,
        "PDF": 0.0164
      },
      {
        "x": -3.18367,
        "PDF": 0.01917
      },
      {
        "x": -3.02041,
        "PDF": 0.02251
      },
      {
        "x": -2.85714,
        "PDF": 0.02654
      },
      {
        "x": -2.69388,
        "PDF": 0.03144
      },
      {
        "x": -2.53061,
        "PDF": 0.03741
      },
      {
        "x": -2.36735,
        "PDF": 0.04468
      },
      {
        "x": -2.20408,
        "PDF": 0.05357
      },
      {
        "x": -2.04082,
        "PDF": 0.06444
      },
      {
        "x": -1.87755,
        "PDF": 0.07769
      },
      {
        "x": -1.71429,
        "PDF": 0.09379
      },
      {
        "x": -1.55102,
        "PDF": 0.1132
      },
      {
        "x": -1.38776,
        "PDF": 0.13633
      },
      {
        "x": -1.22449,
        "PDF": 0.1634
      },
      {
        "x": -1.06122,
        "PDF": 0.1943
      },
      {
        "x": -0.89796,
        "PDF": 0.22832
      },
      {
        "x": -0.73469,
        "PDF": 0.264
      },
      {
        "x": -0.57143,
        "PDF": 0.29894
      },
      {
        "x": -0.40816,
        "PDF": 0.3299
      },
      {
        "x": -0.2449,
        "PDF": 0.35329
      },
      {
        "x": -0.08163,
        "PDF": 0.36593
      },
      {
        "x": 0.08163,
        "PDF": 0.36593
      },
      {
        "x": 0.2449,
        "PDF": 0.35329
      },
      {
        "x": 0.40816,
        "PDF": 0.3299
      },
      {
        "x": 0.57143,
        "PDF": 0.29894
      },
      {
        "x": 0.73469,
        "PDF": 0.264
      },
      {
        "x": 0.89796,
        "PDF": 0.22832
      },
      {
        "x": 1.06122,
        "PDF": 0.1943
      },
      {
        "x": 1.22449,
        "PDF": 0.1634
      },
      {
        "x": 1.38776,
        "PDF": 0.13633
      },
      {
        "x": 1.55102,
        "PDF": 0.1132
      },
      {
        "x": 1.71429,
        "PDF": 0.09379
      },
      {
        "x": 1.87755,
        "PDF": 0.07769
      },
      {
        "x": 2.04082,
        "PDF": 0.06444
      },
      {
        "x": 2.20408,
        "PDF": 0.05357
      },
      {
        "x": 2.36735,
        "PDF": 0.04468
      },
      {
        "x": 2.53061,
        "PDF": 0.03741
      },
      {
        "x": 2.69388,
        "PDF": 0.03144
      },
      {
        "x": 2.85714,
        "PDF": 0.02654
      },
      {
        "x": 3.02041,
        "PDF": 0.02251
      },
      {
        "x": 3.18367,
        "PDF": 0.01917
      },
      {
        "x": 3.34694,
        "PDF": 0.0164
      },
      {
        "x": 3.5102,
        "PDF": 0.01409
      },
      {
        "x": 3.67347,
        "PDF": 0.01216
      },
      {
        "x": 3.83673,
        "PDF": 0.01053
      },
      {
        "x": 4,
        "PDF": 0.00916
      }
    ],
    "data-a0556d6caa878f014897cffca19931c4": [
      {
        "x": 0,
        "PDF": 0
      },
      {
        "x": 0.08163,
        "PDF": 0.00003
      },
      {
        "x": 0.16327,
        "PDF": 0.00686
      },
      {
        "x": 0.2449,
        "PDF": 0.06218
      },
      {
        "x": 0.32653,
        "PDF": 0.1995
      },
      {
        "x": 0.40816,
        "PDF": 0.39232
      },
      {
        "x": 0.4898,
        "PDF": 0.58806
      },
      {
        "x": 0.57143,
        "PDF": 0.74639
      },
      {
        "x": 0.65306,
        "PDF": 0.84976
      },
      {
        "x": 0.73469,
        "PDF": 0.898
      },
      {
        "x": 0.81633,
        "PDF": 0.90013
      },
      {
        "x": 0.89796,
        "PDF": 0.8682
      },
      {
        "x": 0.97959,
        "PDF": 0.81382
      },
      {
        "x": 1.06122,
        "PDF": 0.74657
      },
      {
        "x": 1.14286,
        "PDF": 0.67369
      },
      {
        "x": 1.22449,
        "PDF": 0.60029
      },
      {
        "x": 1.30612,
        "PDF": 0.52967
      },
      {
        "x": 1.38776,
        "PDF": 0.46383
      },
      {
        "x": 1.46939,
        "PDF": 0.40379
      },
      {
        "x": 1.55102,
        "PDF": 0.34994
      },
      {
        "x": 1.63265,
        "PDF": 0.30222
      },
      {
        "x": 1.71429,
        "PDF": 0.26032
      },
      {
        "x": 1.79592,
        "PDF": 0.22381
      },
      {
        "x": 1.87755,
        "PDF": 0.19215
      },
      {
        "x": 1.95918,
        "PDF": 0.16482
      },
      {
        "x": 2.04082,
        "PDF": 0.1413
      },
      {
        "x": 2.12245,
        "PDF": 0.12111
      },
      {
        "x": 2.20408,
        "PDF": 0.1038
      },
      {
        "x": 2.28571,
        "PDF": 0.08899
      },
      {
        "x": 2.36735,
        "PDF": 0.07632
      },
      {
        "x": 2.44898,
        "PDF": 0.06549
      },
      {
        "x": 2.53061,
        "PDF": 0.05623
      },
      {
        "x": 2.61224,
        "PDF": 0.04832
      },
      {
        "x": 2.69388,
        "PDF": 0.04155
      },
      {
        "x": 2.77551,
        "PDF": 0.03576
      },
      {
        "x": 2.85714,
        "PDF": 0.03081
      },
      {
        "x": 2.93878,
        "PDF": 0.02657
      },
      {
        "x": 3.02041,
        "PDF": 0.02294
      },
      {
        "x": 3.10204,
        "PDF": 0.01982
      },
      {
        "x": 3.18367,
        "PDF": 0.01715
      },
      {
        "x": 3.26531,
        "PDF": 0.01485
      },
      {
        "x": 3.34694,
        "PDF": 0.01287
      },
      {
        "x": 3.42857,
        "PDF": 0.01117
      },
      {
        "x": 3.5102,
        "PDF": 0.00971
      },
      {
        "x": 3.59184,
        "PDF": 0.00844
      },
      {
        "x": 3.67347,
        "PDF": 0.00735
      },
      {
        "x": 3.7551,
        "PDF": 0.00641
      },
      {
        "x": 3.83673,
        "PDF": 0.00559
      },
      {
        "x": 3.91837,
        "PDF": 0.00488
      },
      {
        "x": 4,
        "PDF": 0.00427
      }
    ]
  }
}