mc_ns: Non-structure Model Structure

View source: R/mc_ns.R

mc_nsR Documentation

Non-structure Model Structure

Description

The function mc_non builds the components of the matrix linear predictor used for fitting non-structured covariance matrix. In general this model is hard to fit due to the large number of parameters.

Usage

mc_ns(id, data, group = NULL, marca = NULL)

Arguments

id

name of the column (string) containing the subject index. Note this structure was designed to deal with longitudinal data. For times series or spatial data use the same id for all observations (one unit sample).

data

data set.

group

name of the column (string) containing a group specific for which the covariance should change.

marca

level (string) of the column group for which the covariance should change.

Value

A list of a n*(n-1)/2 matrices.

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_dglm, mc_dist, mc_ma, mc_rw
and mc_mixed.


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