f_gaussian_gamma | R Documentation |
This function can be used in the family
argument of
create_sampler
or generate_data
to specify a
Gaussian-Gamma sampling distribution, i.e., a Gaussian sampling distribution
whose variances are observed subject to error according to a Gamma
distribution.
f_gaussian_gamma(link = "identity", var.model, ...)
link |
the name of a link function. Currently the only allowed link function
for this distribution family is |
var.model |
a formula specifying the terms of a variance model.
The left-hand side of the formula should specify the observed variances,
unless the family object is used for data generation only.
Several types of model terms on the right-hand side of the formula are supported:
a regression term for the log-variance specified with |
... |
further arguments passed to |
A family object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.