PraD: Discrepancy with respect to equality constraints

Description Usage Arguments Value Author(s)

View source: R/PraD.R

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

1
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


extRC documentation built on Oct. 23, 2020, 7:07 p.m.