Weight function per distribution
weight_function(model, char_vars, values, distribution = "Normal")
one variable function that represents the square of the structure of variance, in case of heteroscedastic variance of the response.
formula describing the model to use. Must use x as the variable.
character vector with the parameters of the models, as written in the formula
numeric vector with the parameters nominal values, in the same order as given in parameters
.
character variable specifying the probability distribution of the response. Can be one of the following:
'Normal', for normal homoscedastic (default)
'Gamma', which can be used for exponential or normal heteroscedastic with constant relative error
'Poisson'
'Logistic'