Learn R Programming

PairedData (version 0.5)

bonett.seier.test: Bonett-Seier test of scale for paired samples

Description

Robust test of scale for paired samples based on the mean absolute deviations.

Usage

bonett.seier.test(x, y = NULL, alternative = c("two.sided", "less", "greater"),
         omega = 1, conf.level = 0.95)

Arguments

x
First sample
y
Second sample
alternative
Alternative hypothesis
omega
A priori ratio of means absolute deviations
conf.level
Confidence level

Value

  • A list with class "htest" containing the following components:
  • statisticThe value of the t-statistic
  • p.valueThe p-value for the test
  • conf.intA confidence interval for the ratio of means absolute deviations appropriate to the specified alternative hypothesis
  • estimateThe estimated means absolute deviations
  • null.valueThe specified hypothesized value of the ratio of means absolute deviations
  • alternativeA character string describing the alternative hypothesis
  • methodA character string indicating what type of test was performed
  • data.nameA character string giving the name(s) of the data

References

D.G. Bonett and E. Seier. Statistical inference for a ratio of dispersions using paired samples. Journal of Educational and Behavioral Statistics, 28, 21-30, 2003.

See Also

var.test, pitman.morgan.test, grambsch.test

Examples

Run this code
z<-rnorm(20)
x<-rnorm(20)+z
y<-(rnorm(20)+z)*2
bonett.seier.test(x,y)

Run the code above in your browser using DataLab