marginal_dist: A function to calculate the marginal distribution of y

View source: R/k_cond.R

marginal_distR Documentation

A function to calculate the marginal distribution of y

Description

A function to calculate the marginal distribution of y

Usage

marginal_dist(y, k_1, k_2, M, mu_mu, alpha, beta)

Arguments

y

The y vector

k_1

The current value of k1

k_2

The current value of k2

M

The M matrix

mu_mu

The value for mu_mu (usually 0)

alpha

The alpha value from the prior of tau

beta

The beta value from the prior of tau

Value

The resulting value

Author(s)

Bruna Wundervald, brunadaviesw@gmail.com.


brunaw/hebart documentation built on June 1, 2022, 8:35 p.m.