pDisHoeffInd: Null asymptotic distribution of t* in the discrete case

Description Usage Arguments Value

View source: R/Functions.R

Description

Density, distribution function, quantile function and random generation for the asymptotic null distribution of t* in the discrete case. That is, in the case that t* is generated from a sample of jointly discrete independent random variables X and Y.

Usage

1
2
3
4
5
6
7
pDisHoeffInd(x, probs1, probs2, lower.tail = T, error = 10^-5)

dDisHoeffInd(x, probs1, probs2, error = 10^-3)

rDisHoeffInd(n, probs1, probs2)

qDisHoeffInd(p, probs1, probs2, error = 10^-4)

Arguments

x

the value (or vector of values) at which to evaluate the function.

probs1

a vector of probabilities corresponding to the (ordered) support of X. That is if your first random variable has support u_1,...,u_n then the ith entry of probs should be eqnP(X = u_i).

probs2

just as probs1 but for the second random variable Y.

lower.tail

a logical value, if TRUE (default), probabilities are P(X≤q x) otherwise P(X>x).

error

a tolerated error in the result. This should be considered as a guide rather than an exact upper bound to the amount of error.

n

the number of observations to return.

p

the probability (or vector of probabilities) for which to get the quantile.

Value

dDisHoeffInd gives the density, pDisHoeffInd gives the distribution function, qDisHoeffInd gives the quantile function, and rDisHoeffInd generates random samples.


TauStar documentation built on May 1, 2019, 9:59 p.m.