tau_p: Pimentel's tau_b

Description Usage Arguments Value

Description

Computes the estimator for Kendall's tau_b for zero inflated continuous data proposed by Pimentel(2009).

Usage

1
tau_p(x, y, estimator = "values", p11 = 0, p01 = 0, p10 = 0)

Arguments

x, y

vectors to be correlated. Must be numeric and have the same length.

estimator

string indicating how the parameters $p_11$, $p_01$, $p_10$ are to be estimated. The default is 'values', which indicates that they are estimated based on the entries of x and y. If estimates=='own', the $p_ji$'s must be given as arguments.

p11

probability that a bivariate observation is of the type (m,n), where m,n>0. Default is 0.

p01

probability that a bivariate observation is of the type (0,n), where n>0.Default is 0.

p10

probability that a bivariate observation is of the type (n,0), where n>0.Default is 0.

Value

correlation values


mazeinda documentation built on May 2, 2019, 3:25 a.m.