loglikelihoodrhocorrel function

Calculates log-likelihood with correlation from sample overlap

Calculates log-likelihood with correlation from sample overlap

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

loglikelihoodrhocorrel(param, x, y, Tauxy)

Arguments

  • param: Parameters in the model.
  • x: Genetic associations with the exposure.
  • y: Genetic associations with the outcome.
  • Tauxy: Precision matrix for associations with the exposure and outcome.

Returns

Log-likelihood.

Details

None.

  • Maintainer: Stephen Burgess
  • License: GPL-2 | GPL-3
  • Last published: 2024-04-12

Useful links