paos: Profile Analysis for One Sample with Hotelling's T-Square

Description Usage Arguments Details Value See Also Examples

Description

The paos function implements profile analysis for one sample using Hotelling's T-square.

Usage

1

Arguments

data

A data matrix or data frame; rows represent individuals, columns represent variables.

scale

If TRUE (default), variables are standardized by dividing their standard deviations.

Details

The paos function runs profile analysis for one sample based on the Hotelling's T-square test and tests the two htypothesis. First, the null hypothesis that all the ratios of the variables in the data are equal to 1. After rejecting the first hypothesis, a secondary null hypothesis that all of the ratios of the variables in the data equal to one another (not necessarily equal to 1) is tested.

Value

A summary table is returned, listing the following two hypothesis:

See Also

cpa, pr

Examples

1
2
3
4
5
## Not run: 
data(nutrient) 
paos(nutrient, scale=TRUE)

## End(Not run)

Example output

Loading required package: ggplot2
Loading required package: RColorBrewer
Loading required package: reshape
Loading required package: lavaan
This is lavaan 0.6-3
lavaan is BETA software! Please report any bugs.

Profile Analysis for One Sample with Hotelling's T-Square:

                                              T-Squared        F df1 df2
Ho: Ratios of the means over Mu0=1             1392.347 276.9559   5 732
Ho: All of the ratios are equal to each other  1278.073 318.2159   4 733
                                              p-value
Ho: Ratios of the means over Mu0=1                  0
Ho: All of the ratios are equal to each other       0

profileR documentation built on May 2, 2019, 8:31 a.m.