augdat-internals function

Augmented-data projection: Internals

Augmented-data projection: Internals

The augmented-data projection makes extensive use of augmented-rows matrices and augmented-length vectors. In the following, NN, CcatC_cat, ClatC_lat, SrefS_ref, and SprjS_prj from help topic refmodel-init-get are used. Furthermore, let CC denote either CcatC_cat or ClatC_lat, whichever is appropriate in the context where it is used (e.g., for ref_predfun's output, C=ClatC = C_lat). Similarly, let SS denote either SrefS_ref or SprjS_prj, whichever is appropriate in the context where it is used. Then an augmented-rows matrix is a matrix with NCN * C rows in CC

blocks of NN rows, i.e., with the NN observations nested in the CC (possibly latent) response categories. For ordered response categories, the CC (possibly latent) response categories (i.e., the row blocks) have to be sorted increasingly. The columns of an augmented-rows matrix have to correspond to the SS parameter draws, just like for the traditional projection. An augmented-rows matrix is of class augmat

(inheriting from classes matrix and array) and needs to have the value of CC stored in an attribute called ndiscrete. An augmented-length vector (class augvec) is the vector resulting from subsetting an augmented-rows matrix to extract a single column and thereby dropping dimensions.

  • Maintainer: Frank Weber
  • License: GPL-3 | file LICENSE
  • Last published: 2023-12-15