Schuster_gradient: Gradient vector log(L) wrt parameters.
Description
Work is delegated to functions that compute partial derivatives.
This function is responsible for laying them out in correct
positions in the vector.
Usage
Schuster_gradient(n, marginal_pi, kappa, v)
Arguments
- n
matrix of observed counts
- marginal_pi
expected proportions for each response category
- kappa
current estimate of kappa coefficient
- v
symmetry matrix