ppost: Compute posterior distribution for an event using the...

Description Usage Arguments Value

View source: R/t21.R

Description

posterior odds = likelihood ratio * prior odds

Usage

1
ppost(lr_joint, pi = 1/100)

Arguments

lr_joint

likelihood ratio

pi

prior probability

Value

The posterior odds as 1/(1+1/lr_joint*(1-pi)/pi)


hoehleatsu/trisomy21risk documentation built on Sept. 19, 2020, 8:44 p.m.