Learn R Programming

descriptio

Descriptive Statistical Analysis

descriptio provides functions for the description of statistical associations between two variables :

  • measures of local and global association between variables (phi, Cramer's V, point-biserial correlation, eta-squared, Goodman & Kruskal tau, PEM, etc.),
  • graphical representations of the associations between two variables (using ggplot2),
  • weighted statistics,
  • permutation tests.

Documentation

Please visit https://nicolas-robette.github.io/descriptio/ for documentation

Installation

Execute the following code within R:

if (!require(devtools)){
    install.packages('devtools')
    library(devtools)
}
install_github("nicolas-robette/descriptio")

Citation

To cite descriptio in publications, use :

Robette N. (2023), descriptio : Descriptive Analysis of Associations between two Variables in R, version 1.1, https://nicolas-robette.github.io/descriptio/

References

Agresti, A. (2007). An Introduction to Categorical Data Analysis, 2nd ed. New York: John Wiley & Sons.

Cibois P., 1993, « Le PEM, pourcentage de l'ecart maximum : un indice de liaison entre modalites d'un tableau de contingence », Bulletin de Methodologie Sociologique, 40, pp 43-63, [http://cibois.pagesperso-orange.fr/bms93.pdf]

Rakotomalala R., « Comprendre la taille d'effet (effect size) », [http://eric.univ-lyon2.fr/~ricco/cours/slides/effect_size.pdf]

Copy Link

Version

Install

install.packages('descriptio')

Monthly Downloads

866

Version

1.3

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Nicolas Robette

Last Published

March 7th, 2024

Functions in descriptio (1.3)

Movies

Movies (data)
assoc.yx

Bivariate association measures between a response and predictor variables.
assoc.xx

Bivariate association measures between pairs of variables.
ggassoc_crosstab

Proportional area plot
assoc.catcont

Measures the association between a categorical variable and a continuous variable
assoc.catcont.by

Measures the groupwise association between a categorical variable and a continuous variable
assoc.twocat

Cross-tabulation and measures of association between two categorical variables
assoc.twocont

Measures the association between two continuous variables
ggassoc_phiplot

Bar plot of measures of local association of a crosstabulation
ggassoc_scatter

Scatter plot with a smoothing line
condesc

Measures the association between a continuous variable and some continuous and/or categorical variables
catdesc

Measures the association between a categorical variable and some continuous and/or categorical variables
stat_twocat

Cross-tabulation statistics for ggplot2
weighted.cor2

Weighted correlations
weighted.cov

Weighted covariance
darma

Describes Associations as in a Regression Model Analysis.
phi.table

Computes the phi coefficient for every cells of a contingency table
profiles

Profiles by level of a categorical variable
ggassoc_assocplot

Association plot
ggassoc_boxplot

Boxplots with violins
ggassoc_marimekko

Marimekko plot
ggassoc_chiasmogram

Plots counts and associations of a crosstabulation
weighted.cov2

Weighted covariances
weighted.mad

Weighted median absolute deviation to median
or.table

Computes the odds ratios for every cells of a contingency table
weighted.cor

Weighted correlation
ggassoc_bertin

Bar plot of a crosstabulation inspired by Bertin
weighted.quantile

Weighted quantiles
pem.table

Computes the local and global Percentages of Maximum Deviation from Independence (pem)
weighted.sd

Weighted standard deviation
weighted.table

Computes a (possibly weighted) contingency table
assoc.twocont.by

Measures the groupwise association between two continuous variables
assoc.twocat.by

Groupwise cross-tabulation and measures of association between two categorical variables