computePartial4Groups: Computes group alphas and group factor scores for K groups of...

View source: R/computePartial4Groups.R

computePartial4GroupsR Documentation

Computes group alphas and group factor scores for K groups of observations in distatis.

Description

computePartial4Groups: Computes group alphas and group factor scores for K groups of observations used to compute the compromise (i.e., matrix **S**) in a distatis analysis.

Usage

computePartial4Groups(resDistatis, DESIGN)

Arguments

resDistatis

The results of a Distatis analysis (as performed by the DistatisR::distatis) function.

DESIGN

A Design vector describing the groups of observations

Details

In DISTATIS, the compromise is computed as a weighted (with the alpha-coefficients) sum of the K pseudo-covariance matrices **S**k, computePartial4Groups sums all the alpha coefficients of a group to compute each group partial factor scores.

Value

A list with

  • "GroupFS: " The K weighted mean coordinates

  • "groupAlpha: " The K alpha weights

Author(s)

Hervé Abdi

See Also

distatis


DistatisR documentation built on Dec. 5, 2022, 9:05 a.m.