Internal function for calculating log-likelihood for for maximum-likelihood method.

1 | ```
loglikelihood(param, x, sigmax, y, sigmay)
``` |

`param` |
Parameters in the model. |

`x` |
Genetic associations with the exposure. |

`sigmax` |
Standard errors of associations with the exposure. |

`y` |
Genetic associations with the outcome. |

`sigmay` |
Standard errors of genetic associations with the outcome. |

None.

Log-likelihood.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.