Description Usage Arguments Details Value Author(s) References Examples

This function computes the value of the log-likelihood function (negative of) for the model of strategic trading with asymmetric information proposed by Easley and O'Hara (1987). This is an application of the sequential trade model of Kyle (1985).

1 | ```
pin_likelihood(params, n_trades)
``` |

`params` |
Parameters of the structural model in the following order: epsilon, mu, alpha, delta. |

`n_trades` |
A data matrix with 3 rows and a number of columns equal to the trading days. The first row includes the number of implicit trades without identified sign, the so-called 'no trades'. Buy-initiated trades are stored along the second row. Sell-initiated trades are indexed by the third row. |

The application of the model of Easley and O'Hara is based on the assumption that an equal share of uninformed traders buys or sells the asset, i.e. lambda=1/2. I also assume that the trader cannot make a distinction between uninformed counterparts who are willing to trade and those who are not, i.e. epsilon_s=epsilon_b=1/2.

`likel_final ` |
Value of the likelihood function. |

Paolo Zagaglia <paolo.zagaglia@gmail.com>

D. Easley and M. O'Hara. Price, Trade Size, and Information in Securities Markets. Journal of Financial Economics, 19(1), 69-90, 1987.

L. R. Glosten and L. E. Harris. Estimating the Components of the Bid/Ask Spread. Journal of Financial Economics, 21(1), 123-142, 1988.

A. S. Kyle. Continuous Auctions and Insider Trading. Econometrica, 53(6):1315-1335, 1985.

1 2 3 4 5 6 7 8 9 10 11 |

```
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.