- data
A dataframe with 2 variables: the first
corresponds to buyer-initiated trades (buys), and the second corresponds
to seller-initiated trades (sells).
- confidence
A number from (0.5,1)
, corresponding to the
range of the confidence interval used to determine whether a given cluster is
compact, and therefore can be considered an information layer.
If all values of absolute order imbalances (AOI) within a given cluster are
within the confidence interval of a Skellam distribution with level equal to
'confidence'
, and centered on the mean of AOI, then the cluster is
considered compact, and, therefore, an information layer. If some
observations are outside the confidence interval, then the data is clustered
further. The default value is 0.995
. [i]
This is an argument of the
functions detectlayers_e()
, and detectlayers_eg()
.
- correction
A binary variable that determines whether the
data will be adjusted prior to implementing the algorithm of
Ersan2016;textualPINstimation. The default value is TRUE
.
- hyperparams
A list containing the hyperparameters of the ECM
algorithm. When not empty, it contains one or more of the following
elements: maxeval
, tolerance
, maxinit
, and maxlayers
. More
about these elements are found in the Details section. [i]
This is
an argument of the function detectlayers_ecm()
.