Internal function for calculating log-likelihood for for maximum-likelihood method.
loglikelihood(param, x, sigmax, y, sigmay)
Log-likelihood.
Parameters in the model.
Genetic associations with the exposure.
Standard errors of associations with the exposure.
Genetic associations with the outcome.
Standard errors of genetic associations with the outcome.
None.