sequence-package: Analysis of behavioral (or of any other type) sequences.

Description Details Author(s) References

Description

Builds transition/succession matrices (lag analysis), compares several matrices. Plane drawing of flow charts obtained from those matrices by a method based on a modified Correspondence Analysis (CA). The modification consists in symmetrising the matrix and loading its diagonal following Foucart (1985) and Van der Heijden (1986). This leads to a 'nice' positionning of the edges of the graph, representing the different items in succession. 'Smart' arrows are drawn as vertices.

Details

read.series.seq reads a series of sequences, each of them considered as an identifiers list. compseq compares the sequences by likelihood ratio tests (LRT) with a Bonferroni correction. The LRT serve to build a distance matrix of the sequences two-by-two. This matrix of distance is used both for a clustering of them and for a mapping by Principal Coordinates Analysis (PCA) also called Multidimensional Scaling (MDS).

From the sequences a transition matrix is obtained. symet symmetrises and/or loads its diagonal. ca makes a Correspondence Analysis and saves the factorial coordinates as an object. flux draws the transition graph. The complete analysis chain is the following:
read.series.seq -> compseq -> symet -> ca -> flux
A sketch of the method is given in Pierre and Kasper (1990).

Author(s)

Jean-Sebastien Pierre Jean-sebastien.pierre@univ-rennes1.fr

References

Pierre, J. S. and C. Kasper (1990). "The Design of Ethological Flow-Charts on Factorial Analysis Representations - an Application to the Study of the Male Mole-Cricket Sexual Courtship." Biology of Behaviour 15(3-4): 125-151.
Foucart, T. (1985). "Tableaux symetriques et tableaux d'echanges." Revue statistiques appliquee 33: 37-53.
Van der Heijden, P. G. M. 1986. Transition matrices, model fitting and correspondence analysis. In: Data Analysis and Informatics IV (Ed. by E. Diday), pp. 221-226. Elsevier Science Publishers.


sequence documentation built on March 26, 2020, 7:30 p.m.