{
  "_id": "6a4b87d7a6574ff277f9c365",
  "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-07-06 10:43: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>",
  "_user": "lbelzile",
  "_type": "src",
  "_file": "ksm_1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/75c884d6f837617c9e23566c57668c5b4140047a2f1475d04f251175f61e8824",
  "_filesize": 279036,
  "_sha256": "75c884d6f837617c9e23566c57668c5b4140047a2f1475d04f251175f61e8824",
  "_expires": "2026-10-14T10:47:50.000Z",
  "_created": "2026-07-06T10:43:12.000Z",
  "_published": "2026-07-06T10:47:51.871Z",
  "_jobs": [
    {
      "job": 85352141955,
      "time": 141,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8106685539"
    },
    {
      "job": 85352142044,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8106683796"
    },
    {
      "job": 85352141977,
      "time": 140,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8106685469"
    },
    {
      "job": 85352141945,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8106682983"
    },
    {
      "job": 85352142010,
      "time": 88,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8106665333"
    },
    {
      "job": 85352141969,
      "time": 224,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8106715359"
    },
    {
      "job": 85352142036,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8106681027"
    },
    {
      "job": 85352141957,
      "time": 170,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8106695777"
    },
    {
      "job": 85351483567,
      "time": 217,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8106632604"
    },
    {
      "job": 85352141922,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8106683591"
    },
    {
      "job": 85352141938,
      "time": 140,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8106684575"
    },
    {
      "job": 85352141943,
      "time": 94,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8106667955"
    },
    {
      "job": 85352141937,
      "time": 151,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8106688243"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/lbelzile/actions/runs/28785612850",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 63,
    "description": "Associate professor of statistics in the Department of Decision Sciences at HEC Montréal."
  },
  "_downloads": {
    "count": 319,
    "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.1",
  "_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",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/lbelzile/ksm",
  "_realowner": "lbelzile",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2025-10-28"
    },
    {
      "version": "1.1",
      "date": "2026-06-07"
    }
  ],
  "_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.32+ds-5",
      "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.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "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-07-06T10:45:44.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "https://r2.ropensci.org/fb001a7d59e8b0f853476f10d3d6f8d0fbf627fdc3d1b3f86402fc0db8c7bef0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/28785612850"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1",
      "date": "2026-07-06T10:45:32.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "https://r2.ropensci.org/20e5cefe026ef8b6a7469bb8ac049a26bcbccb6af1e87f138414a247b494cd17",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/28785612850"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1",
      "date": "2026-07-06T10:45:43.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "https://r2.ropensci.org/ce95f0b29738ed485f0cdc2d7558c5d7aaac634dc812197d58d36ff8c6916d72",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/28785612850"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1",
      "date": "2026-07-06T10:45:34.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "https://r2.ropensci.org/b9a4f7b34f4a5c03faf5d0f82f8a15d3c3feb5f87134cc0f204b781208722db2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/28785612850"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1",
      "date": "2026-07-06T10:44:49.000Z",
      "arch": "aarch64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "https://r2.ropensci.org/c5b8e2ec5fe380a8f39dcd657126b8c95f6275c87ba6f353525de62d9841e7e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/28785612850"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1",
      "date": "2026-07-06T10:46:26.000Z",
      "arch": "x86_64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "https://r2.ropensci.org/c5b833bc4fb77d6e9c5bc5726bd672cddfd07b080c92c758ee2ba37a928b1fc3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/28785612850"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1",
      "date": "2026-07-06T10:45:19.000Z",
      "arch": "aarch64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "https://r2.ropensci.org/c1e54d1ba2bfb8c72ead41ce24f25264eeb42bb9ccda5bf1ff2a14854ce3cea6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/28785612850"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1",
      "date": "2026-07-06T10:45:49.000Z",
      "arch": "x86_64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "https://r2.ropensci.org/d78c43a12723d99f21fdff356f4fdd97e2d2e7160f0d7300e53b1574d711d032",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/28785612850"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1",
      "date": "2026-07-06T10:45:50.000Z",
      "arch": "emscripten",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "https://r2.ropensci.org/d60c52b96f9532e188c870b755611c24dd70ca681b93a5826de329932d4e3382",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/28785612850"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1",
      "date": "2026-07-06T10:45:11.000Z",
      "arch": "x86_64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "https://r2.ropensci.org/7eddc56ed629e65ee2bcf697b3c4808faa350c9ab5c368a35c1a139a6ab7b4e5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/28785612850"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1",
      "date": "2026-07-06T10:44:29.000Z",
      "arch": "x86_64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "https://r2.ropensci.org/b0a9a038cfa054b29e0eb69eb002e1e85029c5358ac114ad8bff7f1911d7d766",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/28785612850"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1",
      "date": "2026-07-06T10:45:21.000Z",
      "arch": "x86_64",
      "commit": "4ae6837fe15dda24fd791159e1c6ab91f26fbb29",
      "fileid": "https://r2.ropensci.org/99657643f960db1c8b90672cf346708d94160f3d67beb2223962129e607ee9b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/28785612850"
    }
  ]
}