podgast.test: Podgor-Gastwirth test

View source: R/podgast.test.R

podgast.testR Documentation

Podgor-Gastwirth test

Description

Performs the Podgor-Gastwirth test for the two-sample location-scale problem.

Usage

podgast.test(x, y)

Arguments

x

Vector of values from the first group.

y

Vector of values from the second group.

Value

Returns a list containing the following items:

statistic

The test statistic.

p.value

The p-value for the test.

Author(s)

Theo Pepler

References

Podgor, M.J. and Gastwirth, J.L. (1994). On non-parametric and generalized tests for the two-sample problem with location and scale change alternatives. Statistics in Medicine, 13(5-7): 747-758.

Marozzi, M. (2013). Nonparametric simultaneous tests for location and scale testing: A comparison of several methods. Communications in Statistics - Simulation and Computation, 42(6): 1298-1317.

Examples

xvec <- rnorm(30)
yvec <- rnorm(30) * 1.3 + 0.5
podgast.test(x = xvec, y = yvec)

tpepler/nonpar documentation built on May 13, 2023, 11:23 a.m.