mc_dglm: Double Generalized Linear Models Structure

View source: R/mc_dglm.R

mc_dglmR Documentation

Double Generalized Linear Models Structure

Description

The function mc_dglm builds the components of the matrix linear predictor used for fitting double generalized linear models.

Usage

mc_dglm(formula, id, data)

Arguments

formula

a formula spefying the components of the covariance structure.

id

name of the column (string) containing the subject index. (If ts is not repeated measures, use id = 1 for all observations).

data

data set.

Value

A list of a diagonal matrices, whose values are given by the covariates assumed to describe the covariance structure.

Author(s)

Wagner Hugo Bonat, wbonat@ufpr.br

Source

Bonat, W. H. (2018). Multiple Response Variables Regression Models in R: The mcglm Package. Journal of Statistical Software, 84(4):1–30.

See Also

mc_id, mc_dist, mc_ma, mc_rw
and mc_mixed.


mcglm documentation built on Sept. 16, 2022, 1:06 a.m.