Package: SimJoint 0.3.12

SimJoint: Simulate Joint Distribution

Simulate multivariate correlated data given nonparametric marginals and their joint structure characterized by a Pearson or Spearman correlation matrix. The simulator engages the problem from a purely computational perspective. It assumes no statistical models such as copulas or parametric distributions, and can approximate the target correlations regardless of theoretical feasibility. The algorithm integrates and advances the Iman-Conover (1982) approach <doi:10.1080/03610918208812265> and the Ruscio-Kaczetow iteration (2008) <doi:10.1080/00273170802285693>. Package functions are carefully implemented in C++ for squeezing computing speed, suitable for large input in a manycore environment. Precision of the approximation and computing speed both substantially outperform various CRAN packages to date. Benchmarks are detailed in function examples. A simple heuristic algorithm is additionally designed to optimize the joint distribution in the post-simulation stage. The heuristic demonstrated good potential of achieving the same level of precision of approximation without the enhanced Iman-Conover-Ruscio-Kaczetow. The package contains a copy of Permuted Congruential Generator.

Authors:Charlie Wusuo Liu

SimJoint_0.3.12.tar.gz
SimJoint_0.3.12.zip(r-4.5)SimJoint_0.3.12.zip(r-4.4)SimJoint_0.3.12.zip(r-4.3)
SimJoint_0.3.12.tgz(r-4.4-x86_64)SimJoint_0.3.12.tgz(r-4.4-arm64)SimJoint_0.3.12.tgz(r-4.3-x86_64)SimJoint_0.3.12.tgz(r-4.3-arm64)
SimJoint_0.3.12.tar.gz(r-4.5-noble)SimJoint_0.3.12.tar.gz(r-4.4-noble)
SimJoint_0.3.12.tgz(r-4.4-emscripten)SimJoint_0.3.12.tgz(r-4.3-emscripten)
SimJoint.pdf |SimJoint.html
SimJoint/json (API)
NEWS

# Install 'SimJoint' in R:
install.packages('SimJoint', repos = c('https://whateverliu.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

10 exports 0.23 score 2 dependencies 2 scripts 298 downloads

Last updated 8 months agofrom:625cc4653c. Checks:OK: 1 NOTE: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 11 2024
R-4.5-win-x86_64NOTESep 11 2024
R-4.5-linux-x86_64NOTESep 11 2024
R-4.4-win-x86_64NOTESep 11 2024
R-4.4-mac-x86_64NOTESep 11 2024
R-4.4-mac-aarch64NOTESep 11 2024
R-4.3-win-x86_64NOTESep 11 2024
R-4.3-mac-x86_64NOTESep 11 2024
R-4.3-mac-aarch64NOTESep 11 2024

Exports:decorexportRandomStateLHSpmfpostSimOptSJpearsonSJpearsonPMFSJspearmanSJspearmanPMFxSJpearsonxSJpearsonPMF

Dependencies:RcppRcppArmadillo

SimulatedJointDistribution

Rendered fromSimulatedJointDistribution.pdf.asisusingR.rsp::asison Sep 11 2024.

Last update: 2021-12-09
Started: 2019-06-18