Package: latentcor 2.0.2

Irina Gaynanova

latentcor: Fast Computation of Latent Correlations for Mixed Data

The first stand-alone R package for computation of latent correlation that takes into account all variable types (continuous/binary/ordinal/zero-inflated), comes with an optimized memory footprint, and is computationally efficient, essentially making latent correlation estimation almost as fast as rank-based correlation estimation. The estimation is based on latent copula Gaussian models. For continuous/binary types, see Fan, J., Liu, H., Ning, Y., and Zou, H. (2017). For ternary type, see Quan X., Booth J.G. and Wells M.T. (2018) <doi:10.48550/arXiv.1809.06255>. For truncated type or zero-inflated type, see Yoon G., Carroll R.J. and Gaynanova I. (2020) <doi:10.1093/biomet/asaa007>. For approximation method of computation, see Yoon G., Müller C.L. and Gaynanova I. (2021) <doi:10.1080/10618600.2021.1882468>. The latter method uses multi-linear interpolation originally implemented in the R package <https://cran.r-project.org/package=chebpol>.

Authors:Mingze Huang [aut], Grace Yoon [aut], Christian M&uuml;ller [aut], Irina Gaynanova [aut, cre]

latentcor_2.0.2.tar.gz
latentcor_2.0.2.zip(r-4.7)latentcor_2.0.2.zip(r-4.6)latentcor_2.0.2.zip(r-4.5)
latentcor_2.0.2.tgz(r-4.6-x86_64)latentcor_2.0.2.tgz(r-4.6-arm64)latentcor_2.0.2.tgz(r-4.5-x86_64)latentcor_2.0.2.tgz(r-4.5-arm64)
latentcor_2.0.2.tar.gz(r-4.7-arm64)latentcor_2.0.2.tar.gz(r-4.7-x86_64)latentcor_2.0.2.tar.gz(r-4.6-arm64)latentcor_2.0.2.tar.gz(r-4.6-x86_64)
latentcor_2.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
latentcor/json (API)

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

Bug tracker:https://github.com/mingzehuang/latentcor/issues

On CRAN:

Conda:

data-analysisdata-miningdata-processingdata-sciencedata-structuresmachine-learningmixed-typesstatistics

6.57 score 16 stars 1 packages 39 scripts 805 downloads 7 exports 126 dependencies

Last updated from:033546f6c5. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK201
linux-devel-x86_64OK218
source / vignettesOK246
linux-release-arm64OK203
linux-release-x86_64OK216
macos-release-arm64OK223
macos-release-x86_64OK317
macos-oldrel-arm64OK189
macos-oldrel-x86_64OK497
windows-develOK222
windows-releaseOK159
windows-oldrelOK177
wasm-releaseOK155

Exports:evaluationgen_dataget_typesinterpolationipollatentcorr_ml_wrapper

Dependencies:abindaskpassassertthatbase64encbslibcacachemcallrcliclustercodetoolscolorspacecpp11crosstalkcubaturecurldata.tabledendextenddigestdoFuturedoRNGdplyreggevaluatefarverfastmapfBasicsfMultivarfontawesomeforeachfsfuturefuture.applygclusgenericsgeometryggplot2globalsgluegridExtragssgtableheatmaplyhighrhtmltoolshtmlwidgetshttrisobanditeratorsjquerylibjsonliteknitrlabelinglaterlatticelazyevallifecyclelinproglistenvlpSolvemagicmagrittrMASSMatrixMatrixModelsmemoisemgcvmicrobenchmarkmimemnormtmvtnormnlmenumDerivopensslotelparallellypcaPPpermutepillarpkgconfigplotlyplyrprocessxpromisespspurrrqapquantregR6rappdirsRColorBrewerRcppRcppProgressregistryreshape2rlangrmarkdownrngtoolsS7sassscalesseriationsnSparseMspatialstablediststringistringrsurvivalsystibbletidyrtidyselecttimeDatetimeSeriestinytexTSPutf8vctrsveganviridisviridisLitewebshotwithrxfunyaml

latentcor
Introduction | Statement of need | Getting started | A simple example with two variables | Example with mtcars dataset | Example using latentcor with subsampling | References

Last update: 2022-08-31
Started: 2021-05-20

Mathematical Framework for latentcor
Latent Gaussian Copula Model for Mixed Data | Moment-based estimation of $\Sigma$ based on bridge functions | Estimation methods | Original method (method = "original") | Approximation method (method = "approx") | Adjustment of pointwise-estimator for positive-definiteness | Appendix | Derivation of bridge function $F$ for ternary/truncated case | Derivation of approximate bound for the ternary/continuous case | Derivation of approximate bound for the ternary/truncated case | References

Last update: 2022-07-14
Started: 2021-09-03