pc_prior: The PC Prior for the smoothing log precision.

Description Usage Arguments Examples

View source: R/01-model-setup.R

Description

The PC prior for the smoothing log precision is described in the package vignette. This is a convenience function for specifying this prior in the casecrossover software.

The prior is specified as P(sigma > u) = 1 - alpha.

Usage

1
pc_prior(u, alpha)

Arguments

u

The "u" in P(sigma > u) = 1 - alpha.

alpha

The "alpha" in P(sigma > u) = 1 - alpha.

Examples

1
pc_prior(u = 3,alpha = .5)

awstringer1/casecrossover documentation built on March 11, 2021, 4:41 a.m.