{
  "_id": "6a24934c4b233be198385f54",
  "Package": "ksm",
  "Type": "Package",
  "Title": "Kernel Density Estimation for Random Symmetric Positive Definite\nMatrices",
  "Version": "1.1",
  "Authors@R": "c(person(given=\"Leo\", family=\"Belzile\", role = c(\"aut\", \"cre\"), email = \"belzilel@gmail.com\", comment = c(ORCID = \"0000-0002-9135-014X\")), person(given=\"Frederic\", family=\"Ouimet\", role = \"aut\", comment = c(ORCID = \"0000-0001-7933-5265\")))",
  "Description": "Kernel smoothing for Wishart random matrices described in\nDaayeb, Khardani and Ouimet (2025)\n<doi:10.48550/arXiv.2506.08816>, Gaussian and log-Gaussian\nmodels using least square or likelihood cross validation\ncriteria for optimal bandwidth selection.",
  "BugReports": "https://github.com/lbelzile/ksm/issues",
  "Encoding": "UTF-8",
  "License": "MIT + file LICENSE",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://lbelzile.r-universe.dev",
  "Date/Publication": "2026-06-06 21:25:35 UTC",
  "RemoteUrl": "https://github.com/lbelzile/ksm",
  "RemoteRef": "HEAD",
  "RemoteSha": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-06 21:33:12 UTC",
    "User": "root"
  },
  "Author": "Leo Belzile [aut, cre] (ORCID: <https://orcid.org/0000-0002-9135-014X>),\nFrederic Ouimet [aut] (ORCID: <https://orcid.org/0000-0001-7933-5265>)",
  "Maintainer": "Leo Belzile <belzilel@gmail.com>",
  "MD5sum": "7b50b290cd75c8cf3f019d582abef9c8",
  "_user": "lbelzile",
  "_type": "src",
  "_file": "ksm_1.1.tar.gz",
  "_fileid": "f8a812d761b4029a676b8f53b3470b0270fd1eca6a36ed82fcbe2beff90044c4",
  "_filesize": 277579,
  "_sha256": "f8a812d761b4029a676b8f53b3470b0270fd1eca6a36ed82fcbe2beff90044c4",
  "_created": "2026-06-06T21:33:12.000Z",
  "_published": "2026-06-06T21:38:20.430Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79909414996,
      "time": 129,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7458122503"
    },
    {
      "job": 79909414992,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7458121983"
    },
    {
      "job": 79909415007,
      "time": 121,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7458121424"
    },
    {
      "job": 79909414989,
      "time": 116,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7458120615"
    },
    {
      "job": 79909414997,
      "time": 91,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7458117532"
    },
    {
      "job": 79909415006,
      "time": 216,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7458131856"
    },
    {
      "job": 79909414991,
      "time": 86,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7458117089"
    },
    {
      "job": 79909414999,
      "time": 261,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7458136486"
    },
    {
      "job": 79909228677,
      "time": 193,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7458106982"
    },
    {
      "job": 79909414980,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7458120123"
    },
    {
      "job": 79909414988,
      "time": 118,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7458120792"
    },
    {
      "job": 79909414986,
      "time": 107,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7458119408"
    },
    {
      "job": 79909414990,
      "time": 112,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7458120138"
    }
  ],
  "_buildurl": "https://github.com/r-universe/lbelzile/actions/runs/27074413698",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/lbelzile/ksm",
  "_commit": {
    "id": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
    "author": "Léo Belzile <belzilel@gmail.com>",
    "committer": "Léo Belzile <belzilel@gmail.com>",
    "message": "Add LSCV for Gaussian matrix case\n",
    "time": 1780781135
  },
  "_maintainer": {
    "name": "Leo Belzile",
    "email": "belzilel@gmail.com",
    "login": "lbelzile",
    "orcid": "0000-0002-9135-014X",
    "description": "Associate professor of statistics in the Department of Decision Sciences at HEC Montréal.",
    "uuid": 20725206
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.12",
      "role": "Imports"
    },
    {
      "package": "cubature",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "lbelzile",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-38",
      "n": 1
    },
    {
      "week": "2025-41",
      "n": 3
    },
    {
      "week": "2025-42",
      "n": 3
    },
    {
      "week": "2025-43",
      "n": 2
    },
    {
      "week": "2025-46",
      "n": 1
    },
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2026-23",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "lbelzile",
      "count": 13,
      "uuid": 20725206
    }
  ],
  "_userbio": {
    "uuid": 20725206,
    "type": "user",
    "name": "Léo Belzile",
    "description": "Associate professor of statistics in the Department of Decision Sciences at HEC Montréal."
  },
  "_downloads": {
    "count": 130,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ksm"
  },
  "_devurl": "https://github.com/lbelzile/ksm",
  "_searchresults": 0,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ksm.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/lbelzile/ksm",
  "_realowner": "lbelzile",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2025-10-28"
    }
  ],
  "_exports": [
    "bandwidth_optim",
    "dinvWishart",
    "dmbeta2",
    "dsmlnorm",
    "dsmnorm",
    "dWishart",
    "integrate_spd",
    "kdens_smlnorm",
    "kdens_smnorm",
    "kdens_symmat",
    "kdens_Wishart",
    "lcv_kdens_symmat",
    "lcv_kern_smlnorm",
    "lcv_kern_smnorm",
    "lcv_kern_Wishart",
    "lscv_kdens_symmat",
    "lscv_kern_smlnorm",
    "lscv_kern_smnorm",
    "lscv_kern_Wishart",
    "mgamma",
    "Riccati",
    "rinvWishart",
    "rmbeta2",
    "rmnorm",
    "rotation_scaling",
    "rotation2d",
    "rotation3d",
    "rVAR",
    "rWAR",
    "rWishart",
    "simu_fdens",
    "simu_ise_montecarlo",
    "simu_kldiv",
    "simu_rdens",
    "sumlog",
    "sumsignedlog",
    "symmetrize"
  ],
  "_datasets": [
    {
      "name": "realvar",
      "title": "Realized variance of Amazon and SPY",
      "object": "realvar",
      "class": [
        "array"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bandwidth_optim",
      "title": "Bandwidth optimization for symmetric matrix kernels",
      "topics": [
        "bandwidth_optim"
      ]
    },
    {
      "page": "dinvWishart",
      "title": "Density of inverse Wishart random matrix",
      "topics": [
        "dinvWishart"
      ]
    },
    {
      "page": "dmbeta2",
      "title": "Matrix beta type II density function",
      "topics": [
        "dmbeta2"
      ]
    },
    {
      "page": "dsmlnorm",
      "title": "Symmetric matrix-variate lognormal density",
      "topics": [
        "dsmlnorm"
      ]
    },
    {
      "page": "dsmnorm",
      "title": "Symmetric matrix-variate normal density",
      "topics": [
        "dsmnorm"
      ]
    },
    {
      "page": "dWishart",
      "title": "Density of Wishart random matrix",
      "topics": [
        "dWishart"
      ]
    },
    {
      "page": "integrate_spd",
      "title": "Integration with respect to symmetric positive definite matrices",
      "topics": [
        "integrate_spd"
      ]
    },
    {
      "page": "kdens_smlnorm",
      "title": "Symmetric matrix log-normal kernel density",
      "topics": [
        "kdens_smlnorm"
      ]
    },
    {
      "page": "kdens_smnorm",
      "title": "Symmetric matrix normal kernel density",
      "topics": [
        "kdens_smnorm"
      ]
    },
    {
      "page": "kdens_symmat",
      "title": "Kernel density estimators for symmetric matrices",
      "topics": [
        "kdens_symmat"
      ]
    },
    {
      "page": "kdens_Wishart",
      "title": "Wishart kernel density",
      "topics": [
        "kdens_Wishart"
      ]
    },
    {
      "page": "lcv_kdens_symmat",
      "title": "Likelihood cross-validation for symmetric positive definite matrix kernels",
      "topics": [
        "lcv_kdens_symmat"
      ]
    },
    {
      "page": "lcv_kern_smlnorm",
      "title": "Likelihood cross validation criterion for symmetric matrix lognormal kernel",
      "topics": [
        "lcv_kern_smlnorm"
      ]
    },
    {
      "page": "lcv_kern_smnorm",
      "title": "Likelihood cross validation criterion for symmetric matrix normal kernel",
      "topics": [
        "lcv_kern_smnorm"
      ]
    },
    {
      "page": "lcv_kern_Wishart",
      "title": "Likelihood cross validation criterion for Wishart kernel",
      "topics": [
        "lcv_kern_Wishart"
      ]
    },
    {
      "page": "lscv_kdens_symmat",
      "title": "Least square cross-validation for symmetric positive definite matrix kernels",
      "topics": [
        "lscv_kdens_symmat"
      ]
    },
    {
      "page": "lscv_kern_smlnorm",
      "title": "Least square cross validation criterion for log symmetric matrix normal kernel",
      "topics": [
        "lscv_kern_smlnorm"
      ]
    },
    {
      "page": "lscv_kern_smnorm",
      "title": "Least square cross validation criterion for matrix normal kernel",
      "topics": [
        "lscv_kern_smnorm"
      ]
    },
    {
      "page": "lscv_kern_Wishart",
      "title": "Least square cross validation criterion for Wishart kernel",
      "topics": [
        "lscv_kern_Wishart"
      ]
    },
    {
      "page": "mgamma",
      "title": "Multivariate gamma function",
      "topics": [
        "mgamma"
      ]
    },
    {
      "page": "realvar",
      "title": "Realized variance of Amazon and SPY",
      "topics": [
        "realvar"
      ]
    },
    {
      "page": "Riccati",
      "title": "Solver for Riccati equation",
      "topics": [
        "Riccati"
      ]
    },
    {
      "page": "rinvWishart",
      "title": "Random matrix generation from the inverse Wishart distribution",
      "topics": [
        "rinvWishart"
      ]
    },
    {
      "page": "rmbeta2",
      "title": "Random matrix generation from matrix beta type II distribution",
      "topics": [
        "rmbeta2"
      ]
    },
    {
      "page": "rmnorm",
      "title": "Random vector generation from the multivariate normal distribution",
      "topics": [
        "rmnorm"
      ]
    },
    {
      "page": "rWAR",
      "title": "Random matrix generation from first-order autoregressive Wishart process",
      "topics": [
        "rWAR"
      ]
    },
    {
      "page": "rWishart",
      "title": "Random matrix generation from Wishart distribution",
      "topics": [
        "rWishart"
      ]
    },
    {
      "page": "symmetrize",
      "title": "Symmetrize matrix",
      "topics": [
        "symmetrize"
      ]
    }
  ],
  "_readme": "https://github.com/lbelzile/ksm/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp",
    "RcppArmadillo"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "vignette_ksm.Rmd",
      "filename": "vignette_ksm.html",
      "title": "Overview of the ksm package",
      "author": "Leo Belzile",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Evaluation of the kernel and bandwidth optimization",
        "Integrating over positive definite matrices"
      ],
      "created": "2026-06-06 21:25:35",
      "modified": "2026-06-06 21:25:35",
      "commits": 1
    }
  ],
  "_score": 4.544068044350276,
  "_indexed": true,
  "_nocasepkg": "ksm",
  "_universes": [
    "lbelzile"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1",
      "date": "2026-06-06T21:35:31.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "24d237fe25269c041138cdd4acb5878b12c6ab8eaf8bcb06f449e2698247cce4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/27074413698"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1",
      "date": "2026-06-06T21:35:26.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "b79d5a060b4f32a128793be0bc963e9fa5949033547adb2fb7590e63d9773390",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/27074413698"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1",
      "date": "2026-06-06T21:35:22.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "d161288fcf8a71c0aa0270d4f201295088f396409af6d97db397a0256c798b39",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/27074413698"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1",
      "date": "2026-06-06T21:35:14.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "cb1083914dd96a10cd5c04a78aae9200eb9bdba85a6162a56de68609a93306ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/27074413698"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1",
      "date": "2026-06-06T21:34:57.000Z",
      "arch": "aarch64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "dcf84f76850c78db254316da1a25fe6cf2073b0d609876b2951d82d075dd2c9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/27074413698"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1",
      "date": "2026-06-06T21:36:37.000Z",
      "arch": "x86_64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "74485279e92d05e4909cb101d74459684843dc3355d0f2afe74cc21e5136f70f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/27074413698"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1",
      "date": "2026-06-06T21:34:52.000Z",
      "arch": "aarch64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "e3462e09087460d6d759083a871eb76ec915ecfeeebf5b01659c5fb385451f43",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/27074413698"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1",
      "date": "2026-06-06T21:37:03.000Z",
      "arch": "x86_64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "d5e81bf70f6e1c064316e52cd6382c6df5cb86fef7419ff86f219328c9cad770",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/27074413698"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1",
      "date": "2026-06-06T21:35:27.000Z",
      "arch": "emscripten",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "f2c2fdad424d953595fe6ccb22b527e99c6389266e506bd73c18264f206d0bad",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/27074413698"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1",
      "date": "2026-06-06T21:34:39.000Z",
      "arch": "x86_64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "7c7255481d1f63c07a810e7120febeb5e1d14ef3f89868580745307b9cd1fdf1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/27074413698"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1",
      "date": "2026-06-06T21:34:39.000Z",
      "arch": "x86_64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "46194c11634fc4e9ee1bda9abd548b669f4d1cbc0236f6eb8eb3904880b7bdee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/27074413698"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1",
      "date": "2026-06-06T21:34:39.000Z",
      "arch": "x86_64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "5616156201f16c6f8c0e8a77225cddd6d92c2e1a8f5f5fe0398493127b9059f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/27074413698"
    }
  ]
}