postRho: Sample a value from the full conditional posterior of rho

View source: R/posteriors.R

postRhoR Documentation

Sample a value from the full conditional posterior of rho

Description

In our model the data are drawn from LogN(mu_ij + log(c_ij), tau_i). mu_ij = Xi^T %*%Beta + bi, where the prior for bi is given as N(0, rho). This function draws from the conditional posterior of rho, given that the prior on rho is a uniform prior on the standard deviation.

Usage

postRho(b)

Arguments

b

Numeric vector, Random intercepts for individuals

Value

Numeric


skipTrack documentation built on Sept. 10, 2025, 10:27 a.m.