{
  "name": "dnorm() values computed from the documented normal density formula",
  "description": "Normal density and log-density at selected x, mean and sd values, computed from the formula f(x) = exp(-(x-mu)^2/(2 sigma^2))/(sqrt(2 pi) sigma) given in the R stats manual for the Normal distribution; each row corresponds to one dnorm() call.",
  "page": "https://casrai.org/guides/dnorm-in-r",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-23T16:45:00Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "R call",
      "unit": "",
      "description": ""
    },
    {
      "name": "x",
      "unit": "",
      "description": ""
    },
    {
      "name": "mean",
      "unit": "",
      "description": ""
    },
    {
      "name": "sd",
      "unit": "",
      "description": ""
    },
    {
      "name": "Density (dnorm)",
      "unit": "",
      "description": ""
    },
    {
      "name": "Log density (log = TRUE)",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "R call": "dnorm(0, mean = 0, sd = 1)",
      "x": 0,
      "mean": 0,
      "sd": 1,
      "Density (dnorm)": 0.3989423,
      "Log density (log = TRUE)": -0.9189385
    },
    {
      "R call": "dnorm(1, mean = 0, sd = 1)",
      "x": 1,
      "mean": 0,
      "sd": 1,
      "Density (dnorm)": 0.2419707,
      "Log density (log = TRUE)": -1.4189385
    },
    {
      "R call": "dnorm(2, mean = 0, sd = 1)",
      "x": 2,
      "mean": 0,
      "sd": 1,
      "Density (dnorm)": 0.053991,
      "Log density (log = TRUE)": -2.9189385
    },
    {
      "R call": "dnorm(0.5, mean = 0, sd = 1)",
      "x": 0.5,
      "mean": 0,
      "sd": 1,
      "Density (dnorm)": 0.3520653,
      "Log density (log = TRUE)": -1.0439385
    },
    {
      "R call": "dnorm(1, mean = 2, sd = 0.5)",
      "x": 1,
      "mean": 2,
      "sd": 0.5,
      "Density (dnorm)": 0.1079819,
      "Log density (log = TRUE)": -2.2257914
    },
    {
      "R call": "dnorm(0.4, mean = 0.5, sd = 0.1)",
      "x": 0.4,
      "mean": 0.5,
      "sd": 0.1,
      "Density (dnorm)": 2.4197072,
      "Log density (log = TRUE)": 0.8836466
    },
    {
      "R call": "dnorm(0.5, mean = 0.5, sd = 0.1)",
      "x": 0.5,
      "mean": 0.5,
      "sd": 0.1,
      "Density (dnorm)": 3.9894228,
      "Log density (log = TRUE)": 1.3836466
    },
    {
      "R call": "dnorm(170, mean = 175, sd = 7)",
      "x": 170,
      "mean": 175,
      "sd": 7,
      "Density (dnorm)": 0.0441593,
      "Log density (log = TRUE)": -3.1199507
    }
  ],
  "sources": [
    {
      "title": "R stats manual: The Normal Distribution",
      "url": "https://stat.ethz.ch/R-manual/R-devel/library/stats/html/Normal.html",
      "accessed": "2026-11-12"
    }
  ]
}