| estimate.mpin-class {PINstimation} | R Documentation |
MPIN estimation results
Description
The class estimate.mpin is the blueprint of S4 objects
that store the results of the estimation of the MPIN model, using the
function mpin_ml().
Usage
## S4 method for signature 'estimate.mpin'
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 the estimation of theMPINmodel has failed, and is empty otherwise.convergent.sets(
numeric) returns the number of initial parameter sets at which the likelihood maximization converged.method(
character) returns the method of estimation used, and is equal to 'Maximum Likelihood Estimation'.layers(
numeric) returns the number of layers detected in the trading data, or provided by the user.detection(logical) returns a reference to the layer-detection algorithm used (
"E","EG","ECM"), if any algorithm is used. If the number of layers is provided by the user, detection takes the value"USER".parameters(
list) returns the list of the maximum likelihood estimates (\alpha,\delta,\mu,\epsilonb,\epsilons), where\alpha,\delta, and\muare numeric vectors of lengthlayers.aggregates(
numeric) returns an aggregation of information layers' estimated parameters alongside with\epsilonb, and\epsilons. The aggregated parameters are calculated as follows:\alpha_{agg} = \sum \alpha_j\alpha*= \sum \alphaj\delta_{agg} = \sum \alpha_j \times \delta_j\delta*= \sum \alphaj\deltaj, and\mu_{agg} = \sum \alpha_j \times \mu_j\mu*= \sum \alphaj\muj.likelihood(
numeric) returns the value of the (log-)likelihood function evaluated at the optimal set of parameters.mpinJ(
numeric) returns the values of the multilayer probability of informed trading per layer, calculated using the layer-specific estimated parameters.mpin(
numeric) returns the global value of the multilayer probability of informed trading. It is the sum of the multilayer probabilities of informed trading per layer stored in the slotmpinJ.mpin.goodbad(
list) returns a list containing a decomposition ofMPINinto good-news, and bad-newsMPINcomponents. The decomposition has been suggested for PIN measure in Brennan et al. (2016). The list has four elements:mpinG, andmpinBare the global good-news, and bad-news components ofMPIN, whilempinGj, andmpinBjare two vectors containing the good-news (bad-news) components ofMPINcomputed per layer.dataset(
dataframe) returns the dataset of buys and sells used in the maximum likelihood estimation of the MPIN model.initialsets(
dataframe) returns the initial parameter sets used in the maximum likelihood estimation of the MPIN model.details(
dataframe) returns a dataframe containing the estimated parameters of theMLEmethod for each initial parameter set.runningtime(
numeric) returns the running time of the estimation of theMPINmodel in seconds.