Skip to contents

Sample one iteration of the (inverse gamma) global variance model

Usage

sample_sigma2_one_iteration(residual, dataset, rng, a, b)

Arguments

residual

Outcome class

dataset

ForestDataset class

rng

C++ random number generator

a

Global variance shape parameter

b

Global variance scale parameter