{
  "_id": "6a1ffbfbb401979e73444ae8",
  "Package": "lg",
  "Title": "Locally Gaussian Distributions: Estimation and Methods",
  "Version": "0.4.1",
  "Authors@R": "person(\"Håkon\", \"Otneim\", email = \"hakon.otneim@nhh.no\", role = c(\"aut\", \"cre\"))",
  "Description": "An implementation of locally Gaussian distributions. It\nprovides methods for implementing locally Gaussian multivariate\ndensity estimation, conditional density estimation, various\nindependence tests for iid and time series data, a test for\nconditional independence and a test for financial contagion.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.1.0",
  "Config/pak/sysreqs": "make libssl-dev",
  "Repository": "https://hotneim.r-universe.dev",
  "Date/Publication": "2020-05-05 08:13:59 UTC",
  "RemoteUrl": "https://github.com/hotneim/lg",
  "RemoteRef": "HEAD",
  "RemoteSha": "458b38dabd383e5fdaea16afd84587b336afdaab",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-03 09:58:43 UTC",
    "User": "root"
  },
  "Author": "Håkon Otneim [aut, cre]",
  "Maintainer": "Håkon Otneim <hakon.otneim@nhh.no>",
  "MD5sum": "d4f4acfbff6116b4d68fef3602b5b1d3",
  "_user": "hotneim",
  "_type": "src",
  "_file": "lg_0.4.1.tar.gz",
  "_fileid": "4a000c3c9a9ad05f88bcb79205411578fb43235e5dbc22e9dcc55b56edbfc826",
  "_filesize": 297664,
  "_sha256": "4a000c3c9a9ad05f88bcb79205411578fb43235e5dbc22e9dcc55b56edbfc826",
  "_created": "2026-06-03T09:58:43.000Z",
  "_published": "2026-06-03T10:03:39.071Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79268665205,
      "time": 126,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7381478475"
    },
    {
      "job": 79268665181,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381478753"
    },
    {
      "job": 79268665268,
      "time": 187,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7381485358"
    },
    {
      "job": 79268665208,
      "time": 213,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381492689"
    },
    {
      "job": 79268152445,
      "time": 173,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381430844"
    },
    {
      "job": 79268665457,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381471406"
    },
    {
      "job": 79268665400,
      "time": 89,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7381465431"
    },
    {
      "job": 79268665389,
      "time": 85,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7381464521"
    },
    {
      "job": 79268665264,
      "time": 89,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381466520"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hotneim/actions/runs/26877354278",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/hotneim/lg",
  "_commit": {
    "id": "458b38dabd383e5fdaea16afd84587b336afdaab",
    "author": "Håkon Otneim <hakon@Hakons-MacBook-Air.local>",
    "committer": "Håkon Otneim <hakon@Hakons-MacBook-Air.local>",
    "message": "deleted temporary files\n",
    "time": 1588666439
  },
  "_maintainer": {
    "name": "Håkon Otneim",
    "email": "hakon.otneim@nhh.no",
    "login": "hotneim",
    "description": "Associate Professor of statistics at the Norwegian School of Economics",
    "uuid": 9962814
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4",
      "role": "Depends"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "localgauss",
      "role": "Imports"
    },
    {
      "package": "logspline",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ks",
      "role": "Imports"
    },
    {
      "package": "np",
      "role": "Imports"
    },
    {
      "package": "tseries",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "hotneim",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "hotneim",
      "count": 106,
      "uuid": 9962814
    }
  ],
  "_userbio": {
    "uuid": 9962814,
    "type": "user",
    "name": "Håkon Otneim",
    "description": "Associate Professor of statistics at the Norwegian School of Economics"
  },
  "_downloads": {
    "count": 151,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lg"
  },
  "_mentions": 3,
  "_devurl": "https://github.com/hotneim/lg",
  "_searchresults": 25,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lg.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/hotneim/lg",
  "_realowner": "hotneim",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2017-12-05"
    },
    {
      "version": "0.2.0",
      "date": "2018-10-05"
    },
    {
      "version": "0.3.0",
      "date": "2018-11-30"
    },
    {
      "version": "0.4.0",
      "date": "2019-09-03"
    },
    {
      "version": "0.4.1",
      "date": "2019-12-05"
    }
  ],
  "_exports": [
    "bw_select",
    "bw_select_cv_bivariate",
    "bw_select_cv_trivariate",
    "bw_select_cv_univariate",
    "bw_select_plugin_multivariate",
    "bw_select_plugin_univariate",
    "bw_simple",
    "ci_test",
    "clg",
    "cont_test",
    "corplot",
    "dlg",
    "dlg_bivariate",
    "dlg_marginal",
    "dlg_marginal_wrapper",
    "dlg_trivariate",
    "ind_test",
    "lg_main",
    "partial_cor"
  ],
  "_help": [
    {
      "page": "accept_reject",
      "title": "Generate sample from a conditional density estimate",
      "topics": [
        "accept_reject"
      ]
    },
    {
      "page": "bw_select",
      "title": "Bandwidth selection for local Gaussian correlation.",
      "topics": [
        "bw_select"
      ]
    },
    {
      "page": "bw_select_cv_bivariate",
      "title": "Cross-validation for bivariate distributions",
      "topics": [
        "bw_select_cv_bivariate"
      ]
    },
    {
      "page": "bw_select_cv_trivariate",
      "title": "Cross-validation for trivariate distributions",
      "topics": [
        "bw_select_cv_trivariate"
      ]
    },
    {
      "page": "bw_select_cv_univariate",
      "title": "Cross-validation for univariate distributions",
      "topics": [
        "bw_select_cv_univariate"
      ]
    },
    {
      "page": "bw_select_plugin_multivariate",
      "title": "Plugin bandwidth selection for multivariate data",
      "topics": [
        "bw_select_plugin_multivariate"
      ]
    },
    {
      "page": "bw_select_plugin_univariate",
      "title": "Plugin bandwidth selection for univariate data",
      "topics": [
        "bw_select_plugin_univariate"
      ]
    },
    {
      "page": "bw_simple",
      "title": "Create simple bandwidth object",
      "topics": [
        "bw_simple"
      ]
    },
    {
      "page": "check_bw_bivariate",
      "title": "Check bandwidth vector",
      "topics": [
        "check_bw_bivariate"
      ]
    },
    {
      "page": "check_bw_method",
      "title": "Check bw method",
      "topics": [
        "check_bw_method"
      ]
    },
    {
      "page": "check_bw_trivariate",
      "title": "Check bandwidth vector",
      "topics": [
        "check_bw_trivariate"
      ]
    },
    {
      "page": "check_data",
      "title": "Check the data and grid",
      "topics": [
        "check_data"
      ]
    },
    {
      "page": "check_dmvnorm_arguments",
      "title": "Check the arguments for the 'dmvnorm_wrapper' function",
      "topics": [
        "check_dmvnorm_arguments"
      ]
    },
    {
      "page": "check_est_method",
      "title": "Check estimation method",
      "topics": [
        "check_est_method"
      ]
    },
    {
      "page": "check_lg",
      "title": "Check that an object has class \"lg\"",
      "topics": [
        "check_lg"
      ]
    },
    {
      "page": "ci_test",
      "title": "Test for conditional independence",
      "topics": [
        "ci_test"
      ]
    },
    {
      "page": "ci_test_statistic",
      "title": "Calculate the value of the test statistic for the conditional independence test",
      "topics": [
        "ci_test_statistic"
      ]
    },
    {
      "page": "clg",
      "title": "The locally Gaussian conditional density estimator",
      "topics": [
        "clg"
      ]
    },
    {
      "page": "cont_test",
      "title": "Test for financial contagion",
      "topics": [
        "cont_test"
      ]
    },
    {
      "page": "corplot",
      "title": "Plot local correlation maps",
      "topics": [
        "corplot"
      ]
    },
    {
      "page": "dlg",
      "title": "The locally Gaussian density estimator (LGDE)",
      "topics": [
        "dlg"
      ]
    },
    {
      "page": "dlg_bivariate",
      "title": "Bivariate density estimation",
      "topics": [
        "dlg_bivariate"
      ]
    },
    {
      "page": "dlg_marginal",
      "title": "Marginal density estimation",
      "topics": [
        "dlg_marginal"
      ]
    },
    {
      "page": "dlg_marginal_wrapper",
      "title": "Marginal estimates for multivariate data",
      "topics": [
        "dlg_marginal_wrapper"
      ]
    },
    {
      "page": "dlg_trivariate",
      "title": "Trivariate density estimation",
      "topics": [
        "dlg_trivariate"
      ]
    },
    {
      "page": "dmvnorm_wrapper",
      "title": "Wrapper for 'dmvnorm'",
      "topics": [
        "dmvnorm_wrapper"
      ]
    },
    {
      "page": "dmvnorm_wrapper_single",
      "title": "Wrapper for 'dmvnorm' - single point",
      "topics": [
        "dmvnorm_wrapper_single"
      ]
    },
    {
      "page": "gradient",
      "title": "Auxiliary function for calculating the asymptotic standard deviations for the local Gaussian correlations",
      "topics": [
        "gradient"
      ]
    },
    {
      "page": "ind_test",
      "title": "Independence tests",
      "topics": [
        "ind_test"
      ]
    },
    {
      "page": "ind_teststat",
      "title": "Function that calculates the test statistic in the independence tests.",
      "topics": [
        "ind_teststat"
      ]
    },
    {
      "page": "interpolate_conditional_density",
      "title": "Interpolate a univariate conditional density function",
      "topics": [
        "interpolate_conditional_density"
      ]
    },
    {
      "page": "lg",
      "title": "'lg': A package for calculating the local Gaussian correlation in multivariate applications.",
      "topics": [
        "lg"
      ]
    },
    {
      "page": "lg_main",
      "title": "Create an 'lg' object",
      "topics": [
        "lg_main"
      ]
    },
    {
      "page": "local_conditional_covariance",
      "title": "Calculate the local conditional covariance between two variables",
      "topics": [
        "local_conditional_covariance"
      ]
    },
    {
      "page": "make_C",
      "title": "Auxiliary function for calculating the asymptotic standard deviations for the local Gaussian correlations",
      "topics": [
        "make_C"
      ]
    },
    {
      "page": "mvnorm_eval",
      "title": "Evaluate the multivariate normal",
      "topics": [
        "mvnorm_eval"
      ]
    },
    {
      "page": "partial_cor",
      "title": "Calculate the local Gaussian partial correlation",
      "topics": [
        "partial_cor"
      ]
    },
    {
      "page": "replicate_under_ci",
      "title": "Bootstrap replication under the null hypothesis",
      "topics": [
        "replicate_under_ci"
      ]
    },
    {
      "page": "trans_normal",
      "title": "Transform the marginals of a multivariate data set to standard normality based on the logspline density estimator (Kooperberg and Stone, 1991). See Otneim and Tjøstheim (2017) for details.",
      "topics": [
        "trans_normal"
      ]
    },
    {
      "page": "u",
      "title": "Auxiliary function for calculating the local score function u",
      "topics": [
        "u"
      ]
    }
  ],
  "_readme": "https://github.com/hotneim/lg/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "cli",
    "codetools",
    "cpp11",
    "cubature",
    "curl",
    "farver",
    "FNN",
    "foreach",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "iterators",
    "jsonlite",
    "kernlab",
    "KernSmooth",
    "ks",
    "labeling",
    "lattice",
    "lifecycle",
    "localgauss",
    "logspline",
    "MASS",
    "Matrix",
    "MatrixModels",
    "matrixStats",
    "mclust",
    "mgcv",
    "multicool",
    "mvtnorm",
    "nlme",
    "np",
    "pracma",
    "quadprog",
    "quantmod",
    "quantreg",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "SparseM",
    "survival",
    "tseries",
    "TTR",
    "vctrs",
    "viridisLite",
    "withr",
    "xts",
    "zoo"
  ],
  "_score": 4.176091259055681,
  "_indexed": true,
  "_nocasepkg": "lg",
  "_universes": [
    "hotneim"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-06-03T10:00:54.000Z",
      "distro": "noble",
      "commit": "458b38dabd383e5fdaea16afd84587b336afdaab",
      "fileid": "bb256d19b984b0b9b5fb20438cdc7815b0bd5386543a049164da9c6f66519a32",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hotneim/actions/runs/26877354278"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-06-03T10:00:56.000Z",
      "distro": "noble",
      "commit": "458b38dabd383e5fdaea16afd84587b336afdaab",
      "fileid": "131b73f4262746e38d446af265e6a15c01eb4142d6669d851a4535e52d6f2801",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hotneim/actions/runs/26877354278"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-06-03T10:01:14.000Z",
      "commit": "458b38dabd383e5fdaea16afd84587b336afdaab",
      "fileid": "e1facf1be375a115a9b425e54794ef62f18cfd85e1a4b4f695ff359d54960c12",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hotneim/actions/runs/26877354278"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-06-03T10:01:25.000Z",
      "commit": "458b38dabd383e5fdaea16afd84587b336afdaab",
      "fileid": "20f85755ec7defa2e6c9d2fbde2234b79e9b40614dd7bb5995f0456008bd71b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hotneim/actions/runs/26877354278"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.1",
      "date": "2026-06-03T10:00:50.000Z",
      "commit": "458b38dabd383e5fdaea16afd84587b336afdaab",
      "fileid": "17c0924948abfbf0a097fe68505800635ba445eb5c8c9e35874d2a72541fbeb6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hotneim/actions/runs/26877354278"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-06-03T10:00:11.000Z",
      "commit": "458b38dabd383e5fdaea16afd84587b336afdaab",
      "fileid": "bcfe84f72496aa3112062a81253a89b2a51ec2da95f6cba59f0bbc7a0536be45",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hotneim/actions/runs/26877354278"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-06-03T10:00:08.000Z",
      "commit": "458b38dabd383e5fdaea16afd84587b336afdaab",
      "fileid": "70e582592eb3f6da043c3b82b02423b2a7cb8b88d6f91e903b006890d47a2a06",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hotneim/actions/runs/26877354278"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-06-03T10:00:14.000Z",
      "commit": "458b38dabd383e5fdaea16afd84587b336afdaab",
      "fileid": "86d6d5830737a3890ec83ffd4eb2a5090429474535be66fc4e4c1a1c393754e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hotneim/actions/runs/26877354278"
    }
  ]
}