quality_ratio: Compute the quality ratio on a logit scale

Description Usage Arguments Value Examples

View source: R/mcmc_functions.R

Description

This function compute the logit(pi_ij) = lambda_i - log(exp(lambda_i) + exp(lambda_j))

Usage

1

Arguments

x

The level of deprivation of the winning area on the exponential scale

y

The level of deprivation of the losing area on the exponential scale

Value

logit(pi_ij)

Examples

1
2
3
#compare areas with levels -2 and 2

qr <- quality_ratio(exp(-2), exp(2))

jasa-btun-anon/BTUN documentation built on Sept. 12, 2020, 12:54 a.m.