Learn R Programming

fgac (version 0.6-1)

FE2: FE2

Description

Bidimensional empirical cumulative distribution

Usage

FE2(u, v, x, y)

Arguments

u
real vector
v
real vector
x
real value (can be some component of u)
y
real value (can be some component of v)

Value

  • Bidimensional empirical cumulative distribution from (u,v) sample, evaluated in the point (x,y)

Details

$$FE2(u,v,x,y)=\frac{1}{n}\sum_{i=1}^{n}I_{(u_i\leq x)}I_{(v_i\leq y)},\,\,\,\,\, u=(u_1,\cdots,u_n),\,v=(v_1,\cdots,v_n)$$

See Also

SOB2, FE1vector

Examples

Run this code
#u<-matrix(c(1,3,5,1,6),nrow=5,ncol=1)
#FE2(u,u,6.5,3)
#u<-matrix(c(1:15),nrow=15,ncol=1)
#v<-matrix(c(16:30),nrow=15,ncol=1)
#FE2(u,v,5,35)

Run the code above in your browser using DataLab