ProfileAnalysis: Profile Analysis for Two Independent Group

Description Usage Arguments Value Author(s) References Examples

Description

The function does the profile analysis in the three steps test to check parallelism, in case the null hypothesis of parallelism is not rejected then a level and a horizontal test are applied (Morrison, 2005).

Usage

1
ProfileAnalysis(dat1, dat2, C, alpha = 0.05)

Arguments

dat1

A numeric matrix containing the values of the first group

dat2

A numeric matrix containing the values of the second group

C

A numeric (p-1)\times x p patterned matrix (by default a contrast matrix)

alpha

The significance level of the test

Value

ParallelismHypothesis_pValue

a p value to contrats the hypothesis of parallelism

TestSameLevel_pValue

a p value to contrats the hypothesis of same level

Directionality_pValue

a p value to contrats the hypothesis of directionality

Author(s)

Jesus Gonzalez <jmgonzalezf@unal.edu.co>, Andres Palacios <anfpalacioscl@unal.edu.co>, Campo Elias Pardo <cepardot@unal.edu.co>

References

Morrison, D. F. (2005), Multivariate statistical methods, Series in Probability and Statistics, 4 edn, McGraw-Hill, New York.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
G1 <- matrix(c(125, 137, 121,
             144, 173, 147,
             105, 119, 125,
             151, 149, 128,
             137, 139, 109), nrow = 5, byrow = TRUE)

G2 <- matrix(c(93, 121, 107,
             116, 135, 106,
             109, 83, 100,
             89, 95, 83,
             116, 128, 100), nrow = 5, byrow = TRUE)

C <- matrix(c(1, -1, 0,
              0, 1, -1), nrow = 2, byrow = TRUE)

ProfileAnalysis(G1, G2, C)

andresfpc/AMUN documentation built on May 12, 2019, 3:36 a.m.