.nu_sigma_update {BayesFBHborrow}R Documentation

Calculates nu and sigma2 for the Gaussian Markov random field prior, for a given split point j

Description

Calculates nu and sigma2 for the Gaussian Markov random field prior, for a given split point j

Usage

.nu_sigma_update(j, lambda_0, mu, sigma2, W, Q, J)

Arguments

j

current split point

lambda_0

historical baseline hazard

mu

prior mean for baseline hazard

sigma2

prior variance hyperparameter for baseline hazard

W

influence from right and left neighbors

Q

individual effect of neighborhood

J

number of split points

Value

nu and sigma2


[Package BayesFBHborrow version 1.0.1 Index]