PraD {extRC} | R Documentation |
Discrepancy with respect to equality constraints
Description
Internal function that, given a vector of canonical parameters for an IxJ table (vectorized by row) and the RC model specification in list Model, computes vector of discrepancies and matrix of its derivatives with respect to the canonical parameters.
Usage
PraD(the, Model, der = FALSE)
Arguments
the |
vector of canonical parameters |
Model |
list of model components |
der |
to require the derivative (optional) |
Value
eta |
vector of parameters (logits, interactions) |
hdis |
vector of discrepancies |
Hdis |
matrix of derivatives of discrepancies with respect to the canonical parameter (optional) |
Author(s)
Francesco Bartolucci, Antonio Forcina
[Package extRC version 1.2 Index]