# BinPer: Percentage of concordant intervals In IndTestPP: Tests of Independence and Analysis of Dependence Between Point Processes in Time

## Description

It calculates the proportion of the number of intervals with at least one point in both processes, and the sum of the number of intervals with at least one point in one process, n_{x,y}/(n_{x,y}+n_{x,0}+n_{0,y}).

## Usage

 `1` ```BinPer(posx, posy, ll, T) ```

## Arguments

 `posx` Numeric vector. Occurrence points in the first process, N_x. `posy` Numeric vector. Occurrence points in the second process, N_y. `ll` Numeric value. Lenght of the intervals where the number of points are counted. `T` Numeric value. Length of the observed period of the point processes.

## Details

In order to be useful, an adequate length of interval ll, depending on the expected dependence, has to be selected.

## Value

 `binper` Percentage of concordant intervals.

`depchi`, `CountingCor`
 ```1 2 3 4``` ```#generation of two HPP aux1<-simNHPc(lambda=rep(0.08,200),fixed.seed=123) aux2<-simNHPc(lambda=rep(0.12,200),fixed.seed=125) BinPer(aux1\$posNH, aux2\$posNH,ll=5, T=200) ```