Package: corsym
Title: Correlation Estimation for Exchangeable/Symmetrical Variables
Version: 1.0.1
Authors@R: c(
    person(given = "Alejandro",
	   family = "Ochoa",
	   role = c("aut", "cre"),
	   email = "alejandro.ochoa@duke.edu",
           comment = c(ORCID = "0000-0003-4928-3403")),
    person(given = "Gabriel",
	   family = "Kennedy",
	   role = c("aut"),
	   email = "gabriel.kennedy@duke.edu",
           comment = c(ORCID = "0000-0003-4412-3777"))
    )
Description: We implement a new correlation estimator, CorSym, designed for exchangeable variables, where the ordering of the two values in the pair is arbitrary.  This kind of data arises frequently in the study of assortative pairing (for example, income in a couple).  The standard Pearson estimator is sensitive to such ordering and can be highly biased when the order is biased (when the first value tends to have lower or higher values than the second value).  CorSym gives the same estimate deterministically for all orders within each pair, and estimates the desired correlation without bias (variables must be exchangeable).  The package also includes utilities to simulate biased orders and test for order bias.  Described in Kennedy and Ochoa (2026) <doi:10.64898/2026.08.22.746446>.
License: GPL (>= 3)
Encoding: UTF-8
Suggests: knitr, rmarkdown, testthat (>= 3.0.0), ggplot2
Config/testthat/edition: 3
VignetteBuilder: knitr
URL: https://github.com/OchoaLab/corsym
BugReports: https://github.com/OchoaLab/corsym/issues
Config/roxygen2/version: 8.1.0
NeedsCompilation: no
Packaged: 2026-09-09 13:13:19 UTC; viiia
Author: Alejandro Ochoa [aut, cre] (ORCID:
    <https://orcid.org/0000-0003-4928-3403>),
  Gabriel Kennedy [aut] (ORCID: <https://orcid.org/0000-0003-4412-3777>)
Maintainer: Alejandro Ochoa <alejandro.ochoa@duke.edu>
Repository: CRAN
Date/Publication: 2026-09-17 11:50:02 UTC
Built: R 4.6.1; ; 2026-09-17 13:55:49 UTC; unix
