Description Usage Arguments Value References See Also
Calling compute_ekop_lik()
computes the modified likelihood function from
the model of Easley et al. (1996). The modifications are presented in the
paper by Easley et al. (2002) and are applied to the scenario of equal
buy and sell rates in the model.
Optimization is performed over the logit transformation of the ratios alpha
and delta
and therefore these parameter logits get transformed in the
likelihood function via the logistic transformation exp()/(1+exp())
.
1 | compute_ekop_lik(data, par, T, methodLik = c("precise", "approx"))
|
data |
A |
par |
A vector specifying the parameter values at which the function
should be evaluated. The parameter order is |
T |
A double indicating the length of a trading day in minutes. |
methodLik |
A character specifying, if undefined function values in
optimization should be approximated by large defined values ( |
A double holding the likelihood value of the data and parameter values passed in.
Easley, D., Kiefer, N., O’Hara, M., Paperman, J., 1996. Liquidity, information, and infrequently traded stocks. Journal of Finance 51, 1405–1436.
Easley, David, Hvidkjaer, Soeren, and O’Hara, Maureen (2002). “Is Information Risk a Determinant of Asset Returns?” In: The Journal of Finance 57.5, pp. 2185–2221. DOI: 10.1111/1540-6261.00493.
estimate_mlekop()
for the calling function
compute_ekop_orig_lik()
for the original likelihood function of the
paper by Easley et al. (1996)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.