| estimate.vpin-class {PINstimation} | R Documentation |
VPIN estimation results
Description
The class estimate.vpin is a blueprint for S4 objects
that store the results of the VPIN estimation method using the function
vpin().
The function show() displays a description of the
estimate.vpin object: descriptive statistics of the VPIN variable,
the set of relevant parameters, and the running time.
Usage
## S4 method for signature 'estimate.vpin'
show(object)
Arguments
object |
an object of class |
Slots
success(
logical) returns the valueTRUEwhen the estimation has succeeded,FALSEotherwise.errorMessage(
character) returns an error message if theVPINestimation has failed, and is empty otherwise.parameters(
numeric) returns a numeric vector of estimation parameters (tbSize, buckets, samplength, VBS, #days), wheretbSizeis the size of timebars (in seconds);bucketsis the number of buckets per average volume day;VBSis Volume Bucket Size (daily average volume/number of bucketsbuckets);samplengthis the length of the window used to estimateVPIN; and#daysis the number of days in the dataset.bucketdata(
dataframe) returns the dataframe containing detailed information about buckets. Following the output of Abad and Yague (2012), we report for each bucket its identifier (bucket), the aggregate buy volume (agg.bVol), the aggregate sell volume (agg.sVol), the absolute order imbalance (AOI=|agg.bVol-agg.sVol|), the start time (starttime), the end time (endtime), the duration in seconds (duration) as well as theVPINvector.vpin(
numeric) returns the vector of the volume-synchronized probabilities of informed trading.dailyvpin(
dataframe) returns the dailyVPINvalues. Two variants are provided for any given day:dvpincorresponds to the unweighted average of vpin values, anddvpin.weightedcorresponds to the average of vpin values weighted by bucket duration.runningtime(
numeric) returns the running time of theVPINestimation in seconds.