Learn R Programming

doex (version 1.2)

HS: Hsieh test for Two Parameter Exponential Distributions

Description

This function performs Hsieh test for two-parameter exponential distributed populations.

Usage

HS(data,group)

Arguments

data

A vector containing the observations to which the treatments are randomly assigned.

group

A numerical or character vector indicating the treatment/control groups.

Value

pvalue

the p-value of the Hsieh test

References

Hsieh, H.K. (1986) An exact test for comparing location parameters of k exponential distributions with unequal scales based on type II censored data, Technometrics, 28, 157-164.

Examples

Run this code
# NOT RUN {
library(doex)
HS(component$lifetime,component$supplier)
# }

Run the code above in your browser using DataLab