expparetotest: This program takes your data and the significance level as...

Description Usage Arguments Value Examples

View source: R/expparetotest.R

Description

This program takes your data and the significance level as input and returns the critical number for the test, the value of the -2L (deviance) statistic and the decision (Pareto or exponential) as output.

Usage

1
expparetotest(x, alpha)

Arguments

x

Import Raw data

alpha

Significance level. Note: this program works only for the following significance levels: 0.10, 0.075, 0.05, 0.025, 0.01 and 0.005.

Value

Output the critical number for the test, the value of the -2L (deviance) statistic and the decision (Pareto or exponential) .

Examples

1
2
x<-rexp(1000,0.1)
expparetotest(x,0.05)

jiqiaingwu/LREPUtah documentation built on Dec. 21, 2021, 12:07 a.m.