Learn R Programming

ordinalTables (version 1.0.0.3)

Schuster_hessian: Computes the hessian matrix of second-order partial derivatives of log(L).

Description

Work is delegated to functions that compute second-order partial derivatives. This function is responsible for laying them out in correct positions in the matrix.

Usage

Schuster_hessian(n, marginal_pi, kappa, v)

Value

hessian matrix

Arguments

n

matrix of observed counts

marginal_pi

expected proportions for each category

kappa

current estimate of the kappa coefficient

v

symmetry matrix