podgast.test | R Documentation |
Performs the Podgor-Gastwirth test for the two-sample location-scale problem.
podgast.test(x, y)
x |
Vector of values from the first group. |
y |
Vector of values from the second group. |
Returns a list containing the following items:
statistic |
The test statistic. |
p.value |
The p-value for the test. |
Theo Pepler
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.
xvec <- rnorm(30)
yvec <- rnorm(30) * 1.3 + 0.5
podgast.test(x = xvec, y = yvec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.