e_lor: This function computes expected log odds ratio for a set of...

Description Usage Arguments Value

View source: R/posterior_lor.R

Description

This function computes expected log odds ratio for a set of shape parameters e_lor computes expected log odds ratio for a set of shape parameters

Usage

1
e_lor(b1, a0, b0, a1)

Arguments

b1

a scalar - beta distribution beta shape parameter for prior on allele frequency in cases

a0

a scalar - beta distribution alpha shape parameter for prior on allele frequency in controls

b0

a scalar - beta distribution beta shape parameter for prior on allele frequency in controls

a1

a scalar - beta distribution alpha shape parameter for prior on allele frequency in cases

Value

scalar - expected log(OR)


ollyburren/cupcake documentation built on July 30, 2020, 9:58 a.m.