loglikelihoodrhocorrel: Calculates log-likelihood with correlation from sample...

View source: R/mr_maxlik-methods.R

loglikelihoodrhocorrelR Documentation

Calculates log-likelihood with correlation from sample overlap

Description

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

Usage

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.

Details

None.

Value

Log-likelihood.


MendelianRandomization documentation built on Aug. 9, 2023, 1:05 a.m.