pcprior.interaction.lambda: Compute the scale parameter of the PC prior for the mixing...

Description Usage Arguments Value Examples

View source: R/define_pcprior.R

Description

Given'U' and 'alpha', this function returns the scale parameter of the PC prior for the mixing parameter 'gamma' balancing main versus interaction; the scale parameter specifies the decay rate from the base model 'gamma=0', this can be deifined by the user through a statement such as Prob(gamma < U) = alpha

Usage

1

Arguments

u

the upper bound for the mixing parameter 'gamma', from the statement Prob(gamma < U) = alpha

alpha

the probability level in Prob(gamma < U) = alpha

Value

It returns 'lambda', the scael parameter of the PC prior for tghe mixing balancing main versus interaction

Examples

1
2
# Prob(gamma < u) = alpha
pcprior.interaction.lambda(u=0.95, alpha=0.99)

massimoventrucci/inlaVP documentation built on Dec. 21, 2021, 2:51 p.m.