Bootstrap Confidence Regions for Simple and Multiple Correspondence Analysis

Performs simple correspondence analysis on a two-way contingency table, or multiple correspondence analysis (homogeneity analysis) on data with p categorical variables, and produces bootstrap-based elliptical confidence regions around the projected coordinates for the category points. Includes routines to plot the results in a variety of styles. Also reports the standard numerical output for correspondence analysis.


cabootcrs

Constructs bootstrap elliptical confidence regions for the plotted points in simple and multiple correspondence analysis. These differ from other approaches in that they are explicitly designed as confidence regions for the locations of the population points when projected onto the observed sample axes. The algorithm for multiple CA contains a new method to correct for the well-known distortions caused by the diagonal of the Burt matrix.

Use

For 2-way data presented in this case as a contingency table, perform simple CA and produce plots with confidence regions

theresults <- cabootcrs(thedata)

For p-way data, presented in this case as an n individuals by p variables matrix giving category memberships for each individual, perform multiple CA and produce plots with confidence regions

theresults <- cabootcrs(thedata,catype="mca")

Installing

From CRAN, with

install.packages("cabootcrs")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("cabootcrs")

2.1.0 by Trevor Ringrose, 5 years ago


Browse source code at https://github.com/cran/cabootcrs


Authors: Trevor Ringrose


Documentation:   PDF Manual  


GPL-3 license


Imports methods

Depends on lpSolve, colorspace

Suggests ellipse


See at CRAN