{
  "_id": "6ad0752be2d863f662954ac0",
  "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-10-15 06:22:18 UTC",
    "User": "root"
  },
  "Author": "Håkon Otneim [aut, cre]",
  "Maintainer": "Håkon Otneim <hakon.otneim@nhh.no>",
  "_user": "hotneim",
  "_type": "src",
  "_file": "lg_0.4.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/ae77d412668254a67cdf91f256cc0e85d29196309fb090d984f3eba7db3a15fc",
  "_filesize": 298790,
  "_sha256": "ae77d412668254a67cdf91f256cc0e85d29196309fb090d984f3eba7db3a15fc",
  "_expires": "2027-01-23T06:39:37.000Z",
  "_created": "2026-10-15T06:22:18.000Z",
  "_published": "2026-10-15T06:39:39.891Z",
  "_buildurl": "https://github.com/r-universe/hotneim/actions/runs/38691685903",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116279899780,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11952806720"
    },
    {
      "job": 116279899766,
      "time": 171,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11951529767"
    },
    {
      "job": 116279899857,
      "time": 165,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11952904298"
    },
    {
      "job": 116279899768,
      "time": 154,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11952793597"
    },
    {
      "job": 116278898357,
      "time": 189,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11952616424"
    },
    {
      "job": 116279899699,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11951884551"
    },
    {
      "job": 116279899799,
      "time": 122,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11952267371"
    },
    {
      "job": 116279899763,
      "time": 73,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11952466796"
    },
    {
      "job": 116279899751,
      "time": 75,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11952891382"
    }
  ],
  "_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": "Professor of statistics at the Norwegian School of Economics",
    "uuid": 9962814
  },
  "_distro": "resolute",
  "_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",
    "followers": 19,
    "description": "Professor of statistics at the Norwegian School of Economics"
  },
  "_downloads": {
    "count": 307,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lg"
  },
  "_mentions": 3,
  "_devurl": "https://github.com/hotneim/lg",
  "_searchresults": 32,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lg.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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",
    "crs",
    "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.28330122870355,
  "_indexed": true,
  "_nocasepkg": "lg",
  "_universes": [
    "hotneim"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-10-15T06:24:16.000Z",
      "distro": "resolute",
      "commit": "458b38dabd383e5fdaea16afd84587b336afdaab",
      "fileid": "https://r2.ropensci.org/7a0be169ba59bb1444837a415c804cfed8a5ec607f5e01c815cc11e1204ec6d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hotneim/actions/runs/38691685903"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-10-15T06:24:55.000Z",
      "distro": "resolute",
      "commit": "458b38dabd383e5fdaea16afd84587b336afdaab",
      "fileid": "https://r2.ropensci.org/c31b97ada599c5a22ad08b47dfc5c67bdeefde6dca68acf8c55e6fbe9c9589d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hotneim/actions/runs/38691685903"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-10-15T06:38:43.000Z",
      "commit": "458b38dabd383e5fdaea16afd84587b336afdaab",
      "fileid": "https://r2.ropensci.org/ee086fe744581faf64050ac1e5e6bde358bee23548a2a96ab0ddb0113729ed6e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hotneim/actions/runs/38691685903"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-10-15T06:34:01.000Z",
      "commit": "458b38dabd383e5fdaea16afd84587b336afdaab",
      "fileid": "https://r2.ropensci.org/2673708beea34590b4bb9447183ba0e1dc99ed9fc6c966a1c5d5d1cafa6b3145",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hotneim/actions/runs/38691685903"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.1",
      "date": "2026-10-15T06:24:09.000Z",
      "commit": "458b38dabd383e5fdaea16afd84587b336afdaab",
      "fileid": "https://r2.ropensci.org/ff08b7f94aa523cdae8f68ff90ef06d19943531d21ff5d8caccd9f35959d14cc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hotneim/actions/runs/38691685903"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-10-15T06:24:14.000Z",
      "commit": "458b38dabd383e5fdaea16afd84587b336afdaab",
      "fileid": "https://r2.ropensci.org/5688505bac02c6aeaaba225251c0658a1572e64598a4687f520ae13e04535647",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hotneim/actions/runs/38691685903"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-10-15T06:23:22.000Z",
      "commit": "458b38dabd383e5fdaea16afd84587b336afdaab",
      "fileid": "https://r2.ropensci.org/1de94f0e22cfde0899aa159140b1ce52fd897c6842a74a15d31febe6e9219b89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hotneim/actions/runs/38691685903"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-10-15T06:23:22.000Z",
      "commit": "458b38dabd383e5fdaea16afd84587b336afdaab",
      "fileid": "https://r2.ropensci.org/da0a5a6c671127c83320a5419bea587cb3dc6e86bdeb92d16235a8722b1f01c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hotneim/actions/runs/38691685903"
    }
  ]
}