{
  "_id": "6a115f04acfb0bcc41ceceff",
  "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",
  "RoxygenNote": "7.3.3",
  "LazyData": "true",
  "Repository": "https://lbelzile.r-universe.dev",
  "Date/Publication": "2025-11-24 10:17:54 UTC",
  "RemoteUrl": "https://github.com/lbelzile/ksm",
  "RemoteRef": "HEAD",
  "RemoteSha": "b14ebb612ee3f3faf8c48ad2d727533845fd48af",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-23 07:58:00 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": "8410ffb1339a7254a586baec87138e9c",
  "_user": "lbelzile",
  "_type": "src",
  "_file": "ksm_1.1.tar.gz",
  "_fileid": "e866307b9865a1e4ea85fedcd3b03e0e58d9c9979a6ecae08dcd42c5e78d2b67",
  "_filesize": 224077,
  "_sha256": "e866307b9865a1e4ea85fedcd3b03e0e58d9c9979a6ecae08dcd42c5e78d2b67",
  "_created": "2026-05-23T07:58:00.000Z",
  "_published": "2026-05-23T08:02:12.333Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77507804031,
      "time": 121,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175479945"
    },
    {
      "job": 77507804034,
      "time": 117,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175479388"
    },
    {
      "job": 77507804039,
      "time": 109,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175478605"
    },
    {
      "job": 77507804027,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175479586"
    },
    {
      "job": 77507804053,
      "time": 87,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175476675"
    },
    {
      "job": 77507804052,
      "time": 177,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175486106"
    },
    {
      "job": 77507804042,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175478226"
    },
    {
      "job": 77507804043,
      "time": 186,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175487038"
    },
    {
      "job": 77507636650,
      "time": 201,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175467857"
    },
    {
      "job": 77507804017,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175477643"
    },
    {
      "job": 77507804020,
      "time": 203,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175488932"
    },
    {
      "job": 77507804021,
      "time": 98,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175477731"
    },
    {
      "job": 77507804026,
      "time": 95,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175477419"
    }
  ],
  "_buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26327456253",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/lbelzile/ksm",
  "_commit": {
    "id": "b14ebb612ee3f3faf8c48ad2d727533845fd48af",
    "author": "Léo Belzile <belzilel@gmail.com>",
    "committer": "Léo Belzile <belzilel@gmail.com>",
    "message": "Changes v 1.1\n",
    "time": 1763979474
  },
  "_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": "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
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "lbelzile",
      "count": 12,
      "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": 162,
    "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_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_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"
    }
  ],
  "_score": 3.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "ksm",
  "_universes": [
    "lbelzile"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1",
      "date": "2026-05-23T08:00:12.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "b14ebb612ee3f3faf8c48ad2d727533845fd48af",
      "fileid": "4dfa545d1dc73c853b7eeff09b43f2444f9d1ff73d4cbe934e0d5d2d137bc8f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26327456253"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1",
      "date": "2026-05-23T08:00:07.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "b14ebb612ee3f3faf8c48ad2d727533845fd48af",
      "fileid": "588581602f24b89ecf3224c2cb092ae4d91cc5e5f51c6d66064aa6fe11fcc14a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26327456253"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1",
      "date": "2026-05-23T08:00:02.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "b14ebb612ee3f3faf8c48ad2d727533845fd48af",
      "fileid": "7a158e4dee507a7a27b4897b6685e8b2a0335c85808a6884959a1dae120f8f6b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26327456253"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1",
      "date": "2026-05-23T08:00:08.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "b14ebb612ee3f3faf8c48ad2d727533845fd48af",
      "fileid": "88a71363f01b0a906b6b962626bb902027b71e2e8dfa07f60a7053a4c7504ff6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26327456253"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1",
      "date": "2026-05-23T07:59:45.000Z",
      "arch": "aarch64",
      "commit": "b14ebb612ee3f3faf8c48ad2d727533845fd48af",
      "fileid": "662cfdbaed1919e7edfef7ab41c3155527086e7c130149e88e80805c9ab83a30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26327456253"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1",
      "date": "2026-05-23T08:00:53.000Z",
      "arch": "x86_64",
      "commit": "b14ebb612ee3f3faf8c48ad2d727533845fd48af",
      "fileid": "c23748c6311ce4e7795d7038116f3273080653c927bf9a56ca40d60130932325",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26327456253"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1",
      "date": "2026-05-23T07:59:59.000Z",
      "arch": "aarch64",
      "commit": "b14ebb612ee3f3faf8c48ad2d727533845fd48af",
      "fileid": "52314f168b7aa72d3051624de2d7f94e31998ab898b15bfec2dc66cea48a079e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26327456253"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1",
      "date": "2026-05-23T08:00:56.000Z",
      "arch": "x86_64",
      "commit": "b14ebb612ee3f3faf8c48ad2d727533845fd48af",
      "fileid": "12ca2e83d3ad17c797934587da4bcf28f6d882103db1844731481a38b71af4a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26327456253"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1",
      "date": "2026-05-23T08:00:03.000Z",
      "arch": "emscripten",
      "commit": "b14ebb612ee3f3faf8c48ad2d727533845fd48af",
      "fileid": "dcc9b776386316a21a1908b6fe09791d75ad6695bc39e6ad9a34b06c496a9366",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26327456253"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1",
      "date": "2026-05-23T08:00:26.000Z",
      "arch": "x86_64",
      "commit": "b14ebb612ee3f3faf8c48ad2d727533845fd48af",
      "fileid": "232d036e9d922f182156ba6469ff3d81ae7b1269a8414d1fd54c0477c621e4a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26327456253"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1",
      "date": "2026-05-23T07:59:23.000Z",
      "arch": "x86_64",
      "commit": "b14ebb612ee3f3faf8c48ad2d727533845fd48af",
      "fileid": "d8952c3b87871561bd1f4ef72200682ad78395ede558b9200afc4eb0f90dfda7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26327456253"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1",
      "date": "2026-05-23T07:59:20.000Z",
      "arch": "x86_64",
      "commit": "b14ebb612ee3f3faf8c48ad2d727533845fd48af",
      "fileid": "0a7dd301f5447c66db54c3ccf8d705f1c3a5f042cf1f90737b09656a59190e9d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26327456253"
    }
  ]
}