f_gaussian | R Documentation |
This function can be used in the family
argument of create_sampler
or generate_data
to specify a Gaussian sampling distribution.
f_gaussian(
link = "identity",
var.prior = pr_invchisq(df = 0, scale = 1),
var.vec = ~1,
prec.mat = NULL,
var.model = NULL,
logJacobian = NULL
)
link |
the name of a link function. Currently the only allowed link functions
for the Gaussian distribution is |
var.prior |
prior for the variance parameter of a Gaussian sampling distribution.
This can be specified by a call to one of the prior specification functions
|
var.vec |
a formula to specify unequal variances, i.e. heteroscedasticity. The default corresponds to equal variances. |
prec.mat |
a possibly non-diagonal positive-definite symmetric matrix
interpreted as the precision matrix, i.e. inverse of the covariance matrix.
If this argument is specified |
var.model |
a formula specifying the terms of a variance model in the case of a Gaussian likelihood.
Several types of terms are supported: a regression term for the log-variance
specified with |
logJacobian |
if the data are transformed the logarithm of the Jacobian can be supplied so that it
is incorporated in all log-likelihood computations. This can be useful for comparing information criteria
for different transformations. It should be supplied as a vector of the same size as the response variable,
and is currently only supported if |
A family object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.