loglikelihood: Calculates log-likelihood with uncorrelated variants in...

Description Usage Arguments Details Value

Description

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

Usage

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

Arguments

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.

Details

None.

Value

Log-likelihood.



Search within the MendelianRandomization package
Search all R packages, documentation and source code

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

Please suggest features or report bugs with the GitHub issue tracker.

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