Learn R Programming

doex (version 1.2)

pb_exp: Parametric Bootstrap test for Two Parameter Exponential Distributions

Description

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

Usage

pb_exp(data,group,rept)

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.

rept

The loop size to perform the test.

Value

pvalue

the p-value of the Parametric Bootstrap test for two-parameter exponential distributed populations

References

Malekzadeh, A. and Jafari, A. A. (2019) Inference on the equality means of several two-parameter exponential distributions under progressively Type II censoring, Communications in Statistics - Simulation and Computation.

Examples

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

Run the code above in your browser using DataLab